[clang] [llvm] [AArch64][SME] Implement inline-asm clobbers for za/zt0 (PR #79276)
Matthew Devereau via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 01:58:42 PST 2024
================
@@ -10702,6 +10702,14 @@ AArch64TargetLowering::getRegForInlineAsmConstraint(
parseConstraintCode(Constraint) != AArch64CC::Invalid)
return std::make_pair(unsigned(AArch64::NZCV), &AArch64::CCRRegClass);
+ if (StringRef("{za}").equals_insensitive(Constraint)) {
+ return std::make_pair(unsigned(AArch64::ZA), &AArch64::MPRRegClass);
+ }
+
+ if (StringRef("{zt0}").equals_insensitive(Constraint)) {
----------------
MDevereau wrote:
Done
https://github.com/llvm/llvm-project/pull/79276
More information about the llvm-commits
mailing list