diff options
author | Andrew Trick <atrick@apple.com> | 2011-08-10 18:07:05 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-08-10 18:07:05 +0000 |
commit | 6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e (patch) | |
tree | 2aab5a7d6bd98035bb359aacd3caf5f5bfc0ff25 /llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | |
parent | 9e916e8096e349cb3fb658411a59bf0b4896d9d2 (diff) | |
download | bcm5719-llvm-6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e.tar.gz bcm5719-llvm-6dbb060778bd1180512d3a8e01c8d3c4c69d7a1e.zip |
Comments. Thanks for the spell check Nick!
Also, my apologies for spoiling the autocomplete on SimplifyInstructions.cpp. I couldn't think of a better filename.
llvm-svn: 137229
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyIndVar.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp index 0cf372a53f3..ffaad2717b4 100644 --- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -86,7 +86,7 @@ namespace { /// aligned IV when used by a instruction that ignores the low bits. /// /// Return the operand of IVOperand for this induction variable if IVOperand can -/// be folded (in case more folding opportunity has been exposed). +/// be folded (in case more folding opportunities have been exposed). /// Otherwise return null. Value *SimplifyIndvar::foldIVUser(Instruction *UseInst, Instruction *IVOperand) { Value *IVSrc = 0; @@ -293,7 +293,7 @@ static void pushIVUsers( /// isSimpleIVUser - Return true if this instruction generates a simple SCEV /// expression in terms of that IV. /// -/// This is similar to IVUsers' isInsteresting() but processes each instruction +/// This is similar to IVUsers' isInteresting() but processes each instruction /// non-recursively when the operand is already known to be a simpleIVUser. /// static bool isSimpleIVUser(Instruction *I, const Loop *L, ScalarEvolution *SE) { |