We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdab49 commit dcbe91dCopy full SHA for dcbe91d
gcc/jit/jit-recording.h
@@ -882,6 +882,15 @@ class vector_type : public decorated_type
882
883
void replay_into (replayer *) final override;
884
885
+ virtual bool is_same_type_as (type *other)
886
+ {
887
+ vector_type *other_vec_type = other->dyn_cast_vector_type ();
888
+ if (other_vec_type == NULL)
889
+ return false;
890
+ return get_num_units () == other_vec_type->get_num_units () &&
891
+ get_element_type () == other_vec_type->get_element_type ();
892
+ }
893
+
894
vector_type *is_vector () final override { return this; }
895
896
private:
0 commit comments