mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Fix swapped COPY operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110453 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
775aa22da2
commit
b85f5388a9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user