[llvm-commits] [llvm] r82836 - /llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
Evan Cheng
evan.cheng at apple.com
Fri Sep 25 19:43:43 PDT 2009
Author: evancheng
Date: Fri Sep 25 21:43:36 2009
New Revision: 82836
URL: http://llvm.org/viewvc/llvm-project?rev=82836&view=rev
Log:
Add comment.
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=82836&r1=82835&r2=82836&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMLoadStoreOptimizer.cpp Fri Sep 25 21:43:36 2009
@@ -1185,6 +1185,7 @@
} else
return false;
+ // Make sure the offset registers match.
if (!isT2 &&
(Op0->getOperand(2).getReg() != Op1->getOperand(2).getReg()))
return false;
More information about the llvm-commits
mailing list