[PATCH] D125681: [ARM] Rename the isARMAreaXRegister parameter isIOS to SplitFramePushPop. NFC.
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 14:41:46 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG68f37e7991bf: [ARM] Rename the isARMAreaXRegister parameter isIOS to SplitFramePushPop. NFC. (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125681/new/
https://reviews.llvm.org/D125681
Files:
llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
Index: llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
===================================================================
--- llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ llvm/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -43,7 +43,7 @@
/// isARMArea1Register - Returns true if the register is a low register (r0-r7)
/// or a stack/pc register that we should push/pop.
-static inline bool isARMArea1Register(unsigned Reg, bool isIOS) {
+static inline bool isARMArea1Register(unsigned Reg, bool SplitFramePushPop) {
using namespace ARM;
switch (Reg) {
@@ -53,25 +53,25 @@
return true;
case R8: case R9: case R10: case R11: case R12:
// For iOS we want r7 and lr to be next to each other.
- return !isIOS;
+ return !SplitFramePushPop;
default:
return false;
}
}
-static inline bool isARMArea2Register(unsigned Reg, bool isIOS) {
+static inline bool isARMArea2Register(unsigned Reg, bool SplitFramePushPop) {
using namespace ARM;
switch (Reg) {
case R8: case R9: case R10: case R11: case R12:
// iOS has this second area.
- return isIOS;
+ return SplitFramePushPop;
default:
return false;
}
}
-static inline bool isARMArea3Register(unsigned Reg, bool isIOS) {
+static inline bool isARMArea3Register(unsigned Reg, bool SplitFramePushPop) {
using namespace ARM;
switch (Reg) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125681.429863.patch
Type: text/x-patch
Size: 1379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220516/e0a38096/attachment.bin>
More information about the llvm-commits
mailing list