diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-07-16 09:20:10 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-07-16 09:20:10 +0000 |
commit | 378445303b10b092a898a75131141a8259cff50b (patch) | |
tree | 14871472de34bcaf547ab312fbcbf18206e73079 /lib/Target/ARM/ARMInstrInfo.h | |
parent | 6ef40b11f8331b80d72e7e5f2670d8e0eb190bb2 (diff) | |
download | external_llvm-378445303b10b092a898a75131141a8259cff50b.zip external_llvm-378445303b10b092a898a75131141a8259cff50b.tar.gz external_llvm-378445303b10b092a898a75131141a8259cff50b.tar.bz2 |
Let callers decide the sub-register index on the def operand of rematerialized instructions.
Avoid remat'ing instructions whose def have sub-register indices for now. It's just really really hard to get all the cases right.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h index 286b5b7..3e9f020 100644 --- a/lib/Target/ARM/ARMInstrInfo.h +++ b/lib/Target/ARM/ARMInstrInfo.h @@ -45,7 +45,8 @@ public: const ARMRegisterInfo &getRegisterInfo() const { return RI; } void reMaterialize(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, - unsigned DestReg, const MachineInstr *Orig) const; + unsigned DestReg, unsigned SubIdx, + const MachineInstr *Orig) const; }; } |