summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-08-24 21:19:33 +0000
committerJim Grosbach <grosbach@apple.com>2010-08-24 21:19:33 +0000
commit3197380143cdc18837722129ac888528b9fbfc2b (patch)
tree9b488b8f8f10450381aeabc736a4cba6e43ebb14 /lib/Target/ARM/ARMBaseRegisterInfo.h
parent6d8f1a9a18f07ec099d6f6e9e8e9376e6885c8ea (diff)
downloadllvm-3197380143cdc18837722129ac888528b9fbfc2b.tar.gz
llvm-3197380143cdc18837722129ac888528b9fbfc2b.tar.bz2
llvm-3197380143cdc18837722129ac888528b9fbfc2b.tar.xz
Add ARM heuristic for when to allocate a virtual base register for stack
access. rdar://8277890&7352504 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111968 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.h b/lib/Target/ARM/ARMBaseRegisterInfo.h
index 7044b74e7d..7c1a04ca3b 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -106,7 +106,7 @@ public:
bool canRealignStack(const MachineFunction &MF) const;
bool needsStackRealignment(const MachineFunction &MF) const;
int64_t getFrameIndexInstrOffset(MachineInstr *MI, int Idx) const;
- bool needsFrameBaseReg(MachineInstr *MI, unsigned operand) const;
+ bool needsFrameBaseReg(MachineInstr *MI, int64_t Offset) const;
void materializeFrameBaseRegister(MachineBasicBlock::iterator I,
unsigned BaseReg, int FrameIdx,
int64_t Offset) const;