[llvm] [AArch64] Add assembly/disaasembly of atomic ld/st (PR #112892)

via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 07:48:22 PDT 2024


================
@@ -12626,3 +12626,64 @@ def : TokenAlias<".H", ".h">;
 def : TokenAlias<".S", ".s">;
 def : TokenAlias<".D", ".d">;
 def : TokenAlias<".Q", ".q">;
+
+//----------------------------------------------------------------------------
+// 2024 Armv9.6 Extensions
+//----------------------------------------------------------------------------
+
+let mayLoad = 1, mayStore = 1 in
+class BaseAtomicFPLoad<RegisterClass regtype, bits<2> sz, bits<2> AR,
+                     bits<3> op0, string asm>
+: I<(outs regtype:$Rt),
+    (ins regtype:$Rs, GPR64sp:$Rn),
----------------
SpencerAbson wrote:

```suggestion
: I<(outs regtype:$Rs),
    (ins regtype:$Rt, GPR64sp:$Rn),
```

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


More information about the llvm-commits mailing list