llvm.org GIT mirror llvm / d7bfcba
[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 :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275541 91177308-0d34-0410-b5e6-96231b3b80d8 James Molloy 4 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
82548254 // Thumb1 post-indexed loads are really just single-register LDMs.
82558255 case ARM::tLDR_postidx: {
82568256 BuildMI(*BB, MI, dl, TII->get(ARM::tLDMIA_UPD))
8257 .addOperand(MI->getOperand(1)) // Rn_wb
8258 .addOperand(MI->getOperand(2)) // Rn
8259 .addOperand(MI->getOperand(3)) // PredImm
8260 .addOperand(MI->getOperand(4)) // PredReg
8261 .addOperand(MI->getOperand(0)); // Rt
8262 MI->eraseFromParent();
8257 .addOperand(MI.getOperand(1)) // Rn_wb
8258 .addOperand(MI.getOperand(2)) // Rn
8259 .addOperand(MI.getOperand(3)) // PredImm
8260 .addOperand(MI.getOperand(4)) // PredReg
8261 .addOperand(MI.getOperand(0)); // Rt
8262 MI.eraseFromParent();
82638263 return BB;
82648264 }
82658265