[clang] [llvm] [AArch64][SME] Implement inline-asm clobbers for za/zt0 (PR #79276)

Sander de Smalen via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 00:33:54 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)) {
----------------
sdesmalen-arm wrote:

```suggestion
  if (Constraint == "za") {
```
?

https://github.com/llvm/llvm-project/pull/79276


More information about the cfe-commits mailing list