projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7db7a
)
RescheduleKillAboveMI() must backtrack to before the rescheduled DBG_VALUE instructio...
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 03:33:08 +0000
(
03:33
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 03:33:08 +0000
(
03:33
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144771
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TwoAddressInstructionPass.cpp
b/lib/CodeGen/TwoAddressInstructionPass.cpp
index 2e5111dee5629d0837fa746bff407a7591647911..3e9a0e44e93e3fceb13373585c248e06e1e1d908 100644
(file)
--- a/
lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/
lib/CodeGen/TwoAddressInstructionPass.cpp
@@
-1158,7
+1158,7
@@
TwoAddressInstructionPass::RescheduleKillAboveMI(MachineBasicBlock *MBB,
--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) {