summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-18 00:08:39 +0000
committerDan Gohman <gohman@apple.com>2009-02-18 00:08:39 +0000
commitf284ce203b656f1d6f933b67ad096a93d3cd7290 (patch)
treea1fdfcb8fa903aa87ada531f4f71d0e3b3ac9b77
parentcdf5ffb7fb3215e9ce5556ce896d4f573ab564e4 (diff)
downloadllvm-f284ce203b656f1d6f933b67ad096a93d3cd7290.tar.gz
llvm-f284ce203b656f1d6f933b67ad096a93d3cd7290.tar.bz2
llvm-f284ce203b656f1d6f933b67ad096a93d3cd7290.tar.xz
Fix a typo in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64859 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 0945a5759f..a56bb6704f 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -509,7 +509,7 @@ static bool IVUseShouldUsePostIncValue(Instruction *User, Instruction *IV,
return true;
}
-/// isAddress - Returns true if the specified instruction is using the
+/// isAddressUse - Returns true if the specified instruction is using the
/// specified value as an address.
static bool isAddressUse(Instruction *Inst, Value *OperandVal) {
bool isAddress = isa<LoadInst>(Inst);