[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
================
@@ -507,6 +507,10 @@ bool AArch64RegisterInfo::isAsmClobberable(const MachineFunction &MF,
MCRegisterInfo::regsOverlap(PhysReg, AArch64::X16))
return true;
+ // ZA/ZT0 registers are reserved but may be permitted in the clobber list.
+ if (PhysReg.id() == AArch64::ZA || PhysReg.id() == AArch64::ZT0)
----------------
MDevereau wrote:
Done
https://github.com/llvm/llvm-project/pull/79276
More information about the llvm-commits
mailing list