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/Thumb2RegisterInfo.h | |
parent | 6ef40b11f8331b80d72e7e5f2670d8e0eb190bb2 (diff) | |
download | llvm-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/Thumb2RegisterInfo.h')
-rw-r--r-- | lib/Target/ARM/Thumb2RegisterInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/Thumb2RegisterInfo.h b/lib/Target/ARM/Thumb2RegisterInfo.h index 61ee531c76..0a9a15aa1e 100644 --- a/lib/Target/ARM/Thumb2RegisterInfo.h +++ b/lib/Target/ARM/Thumb2RegisterInfo.h @@ -32,7 +32,7 @@ public: void emitLoadConstPool(MachineBasicBlock &MBB, MachineBasicBlock::iterator &MBBI, DebugLoc dl, - unsigned DestReg, int Val, + unsigned DestReg, unsigned SubIdx, int Val, ARMCC::CondCodes Pred = ARMCC::AL, unsigned PredReg = 0) const; |