aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-15 19:52:17 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-15 19:52:17 +0000
commitf1c3eb37ae96572e1df34bf980b9ecd149b5ee33 (patch)
treee28c710233df78a60ad25cffdba598cbc7ae4c87 /lib/Target/ARM/ARMBaseRegisterInfo.h
parent7e2c04fd05c08d46ecb304938767b4b21cdb9325 (diff)
downloadexternal_llvm-f1c3eb37ae96572e1df34bf980b9ecd149b5ee33.zip
external_llvm-f1c3eb37ae96572e1df34bf980b9ecd149b5ee33.tar.gz
external_llvm-f1c3eb37ae96572e1df34bf980b9ecd149b5ee33.tar.bz2
simplify getRegisterNumbering(). Remove the unused isSPVFP argument and
merge the common cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114013 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.h b/lib/Target/ARM/ARMBaseRegisterInfo.h
index fa2eb6c..7747556 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -66,10 +66,8 @@ protected:
public:
/// getRegisterNumbering - Given the enum value for some register, e.g.
- /// ARM::LR, return the number that it corresponds to (e.g. 14). It
- /// also returns true in isSPVFP if the register is a single precision
- /// VFP register.
- static unsigned getRegisterNumbering(unsigned RegEnum, bool *isSPVFP = 0);
+ /// ARM::LR, return the number that it corresponds to (e.g. 14).
+ static unsigned getRegisterNumbering(unsigned Reg);
/// Code Generation virtual methods...
const unsigned *getCalleeSavedRegs(const MachineFunction *MF = 0) const;