summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreRegisterInfo.td
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-02 23:07:20 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-06-02 23:07:20 +0000
commitf462e3fac7ac67503657d63dc35330d0b19359b3 (patch)
tree2324e4b7c3547704d0430168fd4e11e49fb790a6 /lib/Target/XCore/XCoreRegisterInfo.td
parentd63308978331aa6baed720a94e372d043bcc10bb (diff)
downloadllvm-f462e3fac7ac67503657d63dc35330d0b19359b3.tar.gz
llvm-f462e3fac7ac67503657d63dc35330d0b19359b3.tar.bz2
llvm-f462e3fac7ac67503657d63dc35330d0b19359b3.tar.xz
Make it possible to have unallocatable register classes.
Some register classes are only used for instruction operand constraints. They should never be used for virtual registers. Previously, those register classes were given an empty allocation order, but now you can say 'let isAllocatable=0' in the register class definition. TableGen calculates if a register is part of any allocatable register class, and makes that information available in TargetRegisterDesc::inAllocatableClass. The goal here is to eliminate use cases for overriding allocation_order_* methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132508 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreRegisterInfo.td')
0 files changed, 0 insertions, 0 deletions