commit | 8f05c1004a642ba79c609b40cb3b6524d810b5f3 | [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 | 9fde6ca2c7a8aac1c47336dec34bb153578c6de4 [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;