summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-16 09:20:10 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-16 09:20:10 +0000
commit378445303b10b092a898a75131141a8259cff50b (patch)
tree14871472de34bcaf547ab312fbcbf18206e73079 /lib/Target/ARM/ARMInstrInfo.h
parent6ef40b11f8331b80d72e7e5f2670d8e0eb190bb2 (diff)
downloadllvm-378445303b10b092a898a75131141a8259cff50b.tar.gz
llvm-378445303b10b092a898a75131141a8259cff50b.tar.bz2
llvm-378445303b10b092a898a75131141a8259cff50b.tar.xz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h
index 286b5b702f..3e9f0204fe 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;
};
}