[PATCH] D46777: [ARM] Back up R4 and LR if calling the stack probe function

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 12 10:09:48 PDT 2018


mstorsjo added inline comments.


================
Comment at: lib/Target/ARM/ARMFrameLowering.cpp:1630
+      SavedRegs.set(ARM::R4);
+      SavedRegs.set(ARM::LR);
+    }
----------------
javed.absar wrote:
> The original comments above (1614-1618) mention R4 but we are dealing with LR as well here now. Would it be better to separate the two?
Sure, I can do that.


https://reviews.llvm.org/D46777





More information about the llvm-commits mailing list