summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMBaseRegisterInfo.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-16 22:20:01 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-16 22:20:01 +0000
commit194bd8982936c819a4b14335a4d08f28af8f3d42 (patch)
treecdb88f8ae4863c0cff6889250f5aa1b2d921849c /lib/Target/ARM/ARMBaseRegisterInfo.h
parent94c7ddb6f52a5200983fed0ce74dc602a7737879 (diff)
downloadllvm-194bd8982936c819a4b14335a4d08f28af8f3d42.tar.gz
llvm-194bd8982936c819a4b14335a4d08f28af8f3d42.tar.bz2
llvm-194bd8982936c819a4b14335a4d08f28af8f3d42.tar.xz
Thumb parsing diagnostics for low-reg requirements on ADD and MOV.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseRegisterInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/Target/ARM/ARMBaseRegisterInfo.h b/lib/Target/ARM/ARMBaseRegisterInfo.h
index e2d597f3cc..f76075a42d 100644
--- a/lib/Target/ARM/ARMBaseRegisterInfo.h
+++ b/lib/Target/ARM/ARMBaseRegisterInfo.h
@@ -33,19 +33,6 @@ namespace ARMRI {
};
}
-/// isARMLowRegister - Returns true if the register is low register r0-r7.
-///
-static inline bool isARMLowRegister(unsigned Reg) {
- using namespace ARM;
- switch (Reg) {
- case R0: case R1: case R2: case R3:
- case R4: case R5: case R6: case R7:
- return true;
- default:
- return false;
- }
-}
-
/// 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 isDarwin) {