mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
Remember to keep track of rematted values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d31a169af
commit
f1583ae84a
@ -138,6 +138,7 @@ SlotIndex LiveRangeEdit::rematerializeAt(MachineBasicBlock &MBB,
|
||||
const TargetRegisterInfo &tri) {
|
||||
assert(RM.OrigMI && "Invalid remat");
|
||||
tii.reMaterialize(MBB, MI, DestReg, 0, RM.OrigMI, tri);
|
||||
rematted_.insert(RM.ParentVNI);
|
||||
return lis.InsertMachineInstrInMaps(--MI).getDefIndex();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user