================
@@ -4918,6 +4919,31 @@ Value
*CodeGenFunction::EmitAArch64SMEBuiltinExpr(unsigned BuiltinID,
// Handle builtins which require their multi-vector operands to be swapped
swapCommutativeSMEOperands(BuiltinID, Ops);
+ auto isCntsBuiltin = [&](int64_t &Mul) {
+ switch (BuiltinID) {
----------------
MacDue wrote:
nit: This could just return the `mul`, and the use below could be `if (auto mul
= isCntsBuiltin()))`
https://github.com/llvm/llvm-project/pull/154761
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits