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:
775aa22
)
Fix swapped COPY operands.
author
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 6 Aug 2010 18:04:17 +0000
(18:04 +0000)
committer
Jakob Stoklund Olesen
<stoklund@2pi.dk>
Fri, 6 Aug 2010 18:04:17 +0000
(18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110453
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SplitKit.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SplitKit.cpp
b/lib/CodeGen/SplitKit.cpp
index 70cfc065a37e63ea4811ad4846410b970b4bdc3f..fdc448d1e8b48dad0990c7b8ebfc90026f851f55 100644
(file)
--- a/
lib/CodeGen/SplitKit.cpp
+++ b/
lib/CodeGen/SplitKit.cpp
@@
-458,8
+458,8
@@
void SplitEditor::leaveIntvAtTop(MachineBasicBlock &MBB) {
// Insert the COPY instruction.
MachineInstr *MI = BuildMI(MBB, MBB.begin(), DebugLoc(),
- tii_.get(TargetOpcode::COPY),
open
li_->reg)
- .addReg(
dup
li_->reg);
+ tii_.get(TargetOpcode::COPY),
dup
li_->reg)
+ .addReg(
open
li_->reg);
SlotIndex Idx = lis_.InsertMachineInstrInMaps(MI).getDefIndex();
// Adjust dupli and openli values.