[llvm-branch-commits] [llvm] AArch64: Relax x16/x17 constraint on AUT in certain cases. (PR #132857)

Peter Collingbourne via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Jul 8 21:36:55 PDT 2025


================
@@ -1951,9 +1952,23 @@ let Predicates = [HasPAuth] in {
     let Uses = [X16];
   }
 
+  def AUTxMxN : Pseudo<(outs GPR64:$AuthVal, GPR64common:$Scratch),
+                       (ins GPR64:$Val, i32imm:$Key,
+                            i64imm:$Disc, GPR64:$AddrDisc),
+                       []>, Sched<[WriteI, ReadI]> {
+    let Constraints = "$AuthVal = $Val";
+    let isCodeGenOnly = 1;
+    let hasSideEffects = 0;
----------------
pcc wrote:

I think we're close to an acceptable fix for the MachineLICM issue (I was going to land #147624 tomorrow after giving people a change to comment) so hopefully this won't need to change. Otherwise I'll change this to 1 when it lands.

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


More information about the llvm-branch-commits mailing list