[llvm-commits] [llvm] r144771 - /llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
Evan Cheng
evan.cheng at apple.com
Tue Nov 15 19:33:08 PST 2011
Author: evancheng
Date: Tue Nov 15 21:33:08 2011
New Revision: 144771
URL: http://llvm.org/viewvc/llvm-project?rev=144771&view=rev
Log:
RescheduleKillAboveMI() must backtrack to before the rescheduled DBG_VALUE instructions. rdar://10451185
Modified:
llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=144771&r1=144770&r2=144771&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Tue Nov 15 21:33:08 2011
@@ -1158,7 +1158,7 @@
--From;
MBB->splice(InsertPos, MBB, From, To);
- nmi = llvm::prior(mi); // Backtrack so we process the moved instruction.
+ nmi = llvm::prior(InsertPos); // Backtrack so we process the moved instr.
DistanceMap.erase(DI);
if (LV) {
More information about the llvm-commits
mailing list