hassnaa-arm added inline comments.
Comment at: clang/include/clang/Basic/Builtins.def:42
// q -> Scalable vector, followed by the number of elements and the base type.
+// Q -> AArch64 svcount_t builtin type.
// E -> ext_vector, followed by the number of elements and the bas
hassnaa-arm added inline comments.
Comment at: clang/include/clang/Basic/Builtins.def:42
// q -> Scalable vector, followed by the number of elements and the base type.
+// Q -> AArch64 svcount_t builtin type.
// E -> ext_vector, followed by the number of elements and the bas
hassnaa-arm added inline comments.
Comment at: clang/include/clang/Basic/arm_sve.td:56
// P: boolean
+// Qa: svcount
// U: unsigned
sdesmalen wrote:
> The typespec modifier in this file can remain `Q` rather than `Qa`. Can you
> change it back?
what if there i
hassnaa-arm added inline comments.
Comment at: clang/include/clang/Basic/arm_sve.td:2123
+
+def SVPSEL_COUNT_ALIAS_B : SInst<"svpsel_lane_c8", "}}Pmi", "Pc", MergeNone,
"", [], [ImmCheck<3, ImmCheck0_15>]>;
+def SVPSEL_COUNT_ALIAS_H : SInst<"svpsel_lane_c16", "}}Pmi", "Ps", Mer
hassnaa-arm added inline comments.
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:9633-9635
+bool IsSVCount = isa(Ops[0]->getType());
+assert(((!IsSVCount || cast(Ops[0]->getType())->getName() ==
+ "aarch64.svcount")) &&
hassnaa