diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-29 05:24:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-29 05:24:29 +0000 |
commit | d7d030a44796adc73a6eaa939cd17e52047734c1 (patch) | |
tree | 9da94ea39e031727972cce65d5fe8ad7a962f058 /lib/Target/ARM/ARMLoadStoreOptimizer.cpp | |
parent | 07e7998f09195806e9fe0430a2d5769020dd5dd0 (diff) |
use the MachineInstrBuilder operator-> to simplify some code.
There are probably more instances of this floating around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130474 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMLoadStoreOptimizer.cpp')
-rw-r--r-- | lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp index 334b50fd8a..df89fadb31 100644 --- a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp +++ b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp @@ -761,7 +761,7 @@ bool ARMLoadStoreOpt::MergeBaseUpdateLSMultiple(MachineBasicBlock &MBB, MIB.addOperand(MI->getOperand(OpNum)); // Transfer memoperands. - (*MIB).setMemRefs(MI->memoperands_begin(), MI->memoperands_end()); + MIB->setMemRefs(MI->memoperands_begin(), MI->memoperands_end()); MBB.erase(MBBI); return true; |