[llvm-commits] [llvm] r116962 - /llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Wed Oct 20 15:50:42 PDT 2010
Author: stoklund
Date: Wed Oct 20 17:50:42 2010
New Revision: 116962
URL: http://llvm.org/viewvc/llvm-project?rev=116962&view=rev
Log:
Remember to keep track of rematted values.
Modified:
llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp
Modified: llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp?rev=116962&r1=116961&r2=116962&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveRangeEdit.cpp Wed Oct 20 17:50:42 2010
@@ -138,6 +138,7 @@
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();
}
More information about the llvm-commits
mailing list