[llvm-branch-commits] AArch64: Relax x16/x17 constraint on AUT in certain cases. (PR #132857)
Anatoly Trosinenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jun 2 10:06:52 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";
----------------
atrosinenko wrote:
[nit] Constraint string can be passed as an optional argument of `Pseudo<...>`.
https://github.com/llvm/llvm-project/pull/132857
More information about the llvm-branch-commits
mailing list