commit | 2da53370241fdd1b5c291483311b34e609f06c73 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 28 18:18:53 2010 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Fri May 28 18:18:53 2010 +0000 |
tree | 8b03cdf208046076e955da35cf1176f78ab6b089 | |
parent | bc213209bf3dd5d0b6262464e468fe0d685b24e0 [diff] |
Add a TargetRegisterInfo::composeSubRegIndices hook with a default implementation that is correct for most targets. Tablegen will override where needed. Add MachineOperand::subst{Virt,Phys}Reg methods that correctly handle existing subreg indices when sustituting registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104985 91177308-0d34-0410-b5e6-96231b3b80d8