[llvm] [aarch64] XOR the frame pointer with the stack cookie when protecting the stack (PR #161114)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 26 13:16:48 PST 2025
================
@@ -959,6 +961,18 @@ bool AArch64DAGToDAGISel::SelectRDSVLShiftImm(SDValue N, SDValue &Imm) {
return false;
}
+/// SelectAddUXTXRegister - Select a "UXTX register" operand. This
+/// operand is referred by the instructions have SP operand
+bool AArch64DAGToDAGISel::SelectAddUXTXRegister(SDValue N, SDValue &Reg,
+ SDValue &Shift) {
+ if (N.getOpcode() != ISD::LOAD)
+ return false;
----------------
efriedma-quic wrote:
Is there any particular reason to check for a LOAD? The pattern seems like it should still work for non-LOAD operands.
https://github.com/llvm/llvm-project/pull/161114
More information about the llvm-commits
mailing list