diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-06 18:04:17 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-08-06 18:04:17 +0000 |
commit | 7e0de5ef8e42f5c508ae8bb8b2b3616afce034f0 (patch) | |
tree | a752c4e50b916967d68712cc29c4d6ce49deb5af | |
parent | 0e7752407cef09b7dae52efdfc1452fbdf5e8d36 (diff) | |
download | bcm5719-llvm-7e0de5ef8e42f5c508ae8bb8b2b3616afce034f0.tar.gz bcm5719-llvm-7e0de5ef8e42f5c508ae8bb8b2b3616afce034f0.zip |
Fix swapped COPY operands.
llvm-svn: 110453
-rw-r--r-- | llvm/lib/CodeGen/SplitKit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.cpp b/llvm/lib/CodeGen/SplitKit.cpp index 70cfc065a37..fdc448d1e8b 100644 --- a/llvm/lib/CodeGen/SplitKit.cpp +++ b/llvm/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), openli_->reg) - .addReg(dupli_->reg); + tii_.get(TargetOpcode::COPY), dupli_->reg) + .addReg(openli_->reg); SlotIndex Idx = lis_.InsertMachineInstrInMaps(MI).getDefIndex(); // Adjust dupli and openli values. |