summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMRegisterInfo.td
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-02 23:07:24 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-02 23:07:24 +0000
commit4f3fb6d08be511a277f92279e803ae6e95b00126 (patch)
tree1906d63cdd31b8c9ced9a5ff0032778404623d5e /lib/Target/ARM/ARMRegisterInfo.td
parentf462e3fac7ac67503657d63dc35330d0b19359b3 (diff)
downloadllvm-4f3fb6d08be511a277f92279e803ae6e95b00126.tar.gz
llvm-4f3fb6d08be511a277f92279e803ae6e95b00126.tar.bz2
llvm-4f3fb6d08be511a277f92279e803ae6e95b00126.tar.xz
Flag unallocatable register classes instead of giving them empty
allocation orders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMRegisterInfo.td')
-rw-r--r--lib/Target/ARM/ARMRegisterInfo.td4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMRegisterInfo.td b/lib/Target/ARM/ARMRegisterInfo.td
index 962158580c..99418733c3 100644
--- a/lib/Target/ARM/ARMRegisterInfo.td
+++ b/lib/Target/ARM/ARMRegisterInfo.td
@@ -540,4 +540,6 @@ def QQQQPR : RegisterClass<"ARM", [v8i64],
}
// Condition code registers.
-def CCR : RegisterClass<"ARM", [i32], 32, [CPSR]>;
+def CCR : RegisterClass<"ARM", [i32], 32, [CPSR]> {
+ let isAllocatable = 0;
+}