summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2013-01-14 20:56:10 +0000
committerNick Lewycky <nicholas@mxc.ca>2013-01-14 20:56:10 +0000
commit80ea003c6ceed35699eec73909bdeb2133a9b9f7 (patch)
tree37f7b2aff4cb96fb5ddde6fe8f7b8be516ce6dc5 /llvm/lib/Transforms
parentbc25ff4661aeb3c6f4589920d6b70098c1cd4c9c (diff)
downloadbcm5719-llvm-80ea003c6ceed35699eec73909bdeb2133a9b9f7.tar.gz
bcm5719-llvm-80ea003c6ceed35699eec73909bdeb2133a9b9f7.zip
Fix typo in comment.
llvm-svn: 172460
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
index c782032c458..0c0864f2c0d 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
@@ -739,7 +739,7 @@ static bool CanEvaluateZExtd(Value *V, Type *Ty, unsigned &BitsToClear) {
}
Instruction *InstCombiner::visitZExt(ZExtInst &CI) {
- // If this zero extend is only used by a truncate, let the truncate by
+ // If this zero extend is only used by a truncate, let the truncate be
// eliminated before we try to optimize this zext.
if (CI.hasOneUse() && isa<TruncInst>(CI.use_back()))
return 0;
OpenPOWER on IntegriCloud