diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-09-26 02:43:36 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-26 02:43:36 +0000 |
commit | 8f05c1004a642ba79c609b40cb3b6524d810b5f3 (patch) | |
tree | 648dd02a9ee9917ca2a68ca2f93aacbc245395f3 /lib | |
parent | 9fde6ca2c7a8aac1c47336dec34bb153578c6de4 (diff) | |
download | external_llvm-8f05c1004a642ba79c609b40cb3b6524d810b5f3.zip external_llvm-8f05c1004a642ba79c609b40cb3b6524d810b5f3.tar.gz external_llvm-8f05c1004a642ba79c609b40cb3b6524d810b5f3.tar.bz2 |
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMLoadStoreOptimizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ ARMPreAllocLoadStoreOpt::CanFormLdStDWord(MachineInstr *Op0, MachineInstr *Op1, } else return false; + // Make sure the offset registers match. if (!isT2 && (Op0->getOperand(2).getReg() != Op1->getOperand(2).getReg())) return false; |