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

Javed Absar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 12 09:06:17 PDT 2018


javed.absar added inline comments.


================
Comment at: lib/Target/ARM/ARMFrameLowering.cpp:1630
+      SavedRegs.set(ARM::R4);
+      SavedRegs.set(ARM::LR);
+    }
----------------
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?


https://reviews.llvm.org/D46777





More information about the llvm-commits mailing list