[llvm] [aarch64] XOR the frame pointer with the stack cookie when protecting the stack (PR #161114)

Pan Tao via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 26 19:19:54 PST 2025


================
@@ -853,6 +853,10 @@ class SelectionDAG {
                    ArrayRef(Ops, Glue.getNode() ? 3 : 2));
   }
 
+  SDValue getAddToReg(const SDLoc &dl, Register Reg, EVT VT, SDValue Delta) {
+    return getNode(ISD::ADD, dl, VT, getRegister(Reg, VT), Delta);
----------------
PanTao2 wrote:

I deleted the copyFromSp instruction by referring to [d337c1f](https://github.com/llvm/llvm-project/commit/d337c1f2565a748bcf3f162d0754a362b2c597a4). Could you please check it?

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


More information about the llvm-commits mailing list