commit | be97e906e03dd9b22e14f6749157c9d5f9701dd5 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jan 09 21:17:37 2011 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Sun Jan 09 21:17:37 2011 +0000 |
tree | 406cc2412d1b65c21943b0b90db00d24160f8c26 | |
parent | 96b1b6c1356a70f99e133331c470ba7caf48de21 [diff] |
Teach TargetRegisterInfo how to cram stack slot indexes in with the virtual and physical register numbers. This makes the hack used in LiveInterval official, and lets LiveInterval be oblivious of stack slots. The isPhysicalRegister() and isVirtualRegister() predicates don't know about this, so when a variable may contain a stack slot, isStackSlot() should always be tested first. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123128 91177308-0d34-0410-b5e6-96231b3b80d8