[llvm-commits] [llvm] r73422 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jun 15 14:18:20 PDT 2009
Author: evancheng
Date: Mon Jun 15 16:18:20 2009
New Revision: 73422
URL: http://llvm.org/viewvc/llvm-project?rev=73422&view=rev
Log:
Typo.
Modified:
llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp?rev=73422&r1=73421&r2=73422&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Mon Jun 15 16:18:20 2009
@@ -1040,7 +1040,7 @@
Offset = ARM_AM::getAM3Opc(AddSub, OffImm);
EvenReg = Op0->getOperand(0).getReg();
- OddReg = Op0->getOperand(1).getReg();
+ OddReg = Op1->getOperand(0).getReg();
if (EvenReg == OddReg)
return false;
BaseReg = Op0->getOperand(1).getReg();
More information about the llvm-commits
mailing list