[llvm] r275541 - [ARM] Fix build after r275540
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 15 01:12:45 PDT 2016
Author: jamesm
Date: Fri Jul 15 03:12:44 2016
New Revision: 275541
URL: http://llvm.org/viewvc/llvm-project?rev=275541&view=rev
Log:
[ARM] Fix build after r275540
A rebase seemed so innocent before committing. Turns out someone changed a pointer to a reference in the mean time :(
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=275541&r1=275540&r2=275541&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Fri Jul 15 03:12:44 2016
@@ -8255,12 +8255,12 @@ ARMTargetLowering::EmitInstrWithCustomIn
// Thumb1 post-indexed loads are really just single-register LDMs.
case ARM::tLDR_postidx: {
BuildMI(*BB, MI, dl, TII->get(ARM::tLDMIA_UPD))
- .addOperand(MI->getOperand(1)) // Rn_wb
- .addOperand(MI->getOperand(2)) // Rn
- .addOperand(MI->getOperand(3)) // PredImm
- .addOperand(MI->getOperand(4)) // PredReg
- .addOperand(MI->getOperand(0)); // Rt
- MI->eraseFromParent();
+ .addOperand(MI.getOperand(1)) // Rn_wb
+ .addOperand(MI.getOperand(2)) // Rn
+ .addOperand(MI.getOperand(3)) // PredImm
+ .addOperand(MI.getOperand(4)) // PredReg
+ .addOperand(MI.getOperand(0)); // Rt
+ MI.eraseFromParent();
return BB;
}
More information about the llvm-commits
mailing list