summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-04-29 05:24:29 +0000
committerChris Lattner <sabre@nondot.org>2011-04-29 05:24:29 +0000
commitd7d030a44796adc73a6eaa939cd17e52047734c1 (patch)
tree9da94ea39e031727972cce65d5fe8ad7a962f058 /lib/Target/ARM/ARMLoadStoreOptimizer.cpp
parent07e7998f09195806e9fe0430a2d5769020dd5dd0 (diff)
downloadllvm-d7d030a44796adc73a6eaa939cd17e52047734c1.tar.gz
llvm-d7d030a44796adc73a6eaa939cd17e52047734c1.tar.bz2
llvm-d7d030a44796adc73a6eaa939cd17e52047734c1.tar.xz
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.cpp2
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;