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

Pan Tao via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 17:48: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;
----------------
PanTao2 wrote:

Thanks for your analysis. I hope to relax the restrictions later. Could you please review the added TODO comment?

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


More information about the llvm-commits mailing list