aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@codeaurora.org>2016-02-10 18:49:28 +0000
committerChad Rosier <mcrosier@codeaurora.org>2016-02-10 18:49:28 +0000
commit9f4ec2ea85a7db8fe89aa50456ad9d04517bc0cc (patch)
tree00d286e41ba21619ab5351c9d9b3134c9deecee6 /llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
parente1d85a4d1ff60c6cb94139a847fab07b0325026a (diff)
downloadllvm-9f4ec2ea85a7db8fe89aa50456ad9d04517bc0cc.zip
llvm-9f4ec2ea85a7db8fe89aa50456ad9d04517bc0cc.tar.gz
llvm-9f4ec2ea85a7db8fe89aa50456ad9d04517bc0cc.tar.bz2
[AArch64] Update comment to match reality. NFC.
llvm-svn: 260406
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
index 285fcc2..d0de6d2 100644
--- a/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
+++ b/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
@@ -1131,8 +1131,8 @@ bool AArch64LoadStoreOpt::findMatchingStore(
return false;
}
-/// findMatchingInsn - Scan the instructions looking for a load/store that can
-/// be combined with the current instruction into a load/store pair.
+/// Scan the instructions looking for a load/store that can be combined with the
+/// current instruction into a wider equivalent or a load/store pair.
MachineBasicBlock::iterator
AArch64LoadStoreOpt::findMatchingInsn(MachineBasicBlock::iterator I,
LdStPairFlags &Flags, unsigned Limit) {