commit | 7f4c4564fc1f3955b136a050941b236467fca747 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Sep 26 02:43:36 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Sep 26 02:43:36 2009 +0000 |
tree | 648dd02a9ee9917ca2a68ca2f93aacbc245395f3 | |
parent | 4c1d7673235202816e1027e08eb16cf6123fe1a4 [diff] |
Add comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82836 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp index e75aa48..cd38480 100644 --- a/lib/Target/ARM/ARMLoadStoreOptimizer.cpp +++ b/lib/Target/ARM/ARMLoadStoreOptimizer.cpp
@@ -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;