diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-09-21 21:44:14 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-09-21 21:44:14 +0000 |
commit | ff714f9992c171d54341afb6cb998d7fc23e9bd2 (patch) | |
tree | b6f87d55568cc6facfcc4658332808f3091d7b12 /llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | |
parent | fb100021b722163794ce8522d91a469f06bf43ce (diff) | |
download | bcm5719-llvm-ff714f9992c171d54341afb6cb998d7fc23e9bd2.tar.gz bcm5719-llvm-ff714f9992c171d54341afb6cb998d7fc23e9bd2.zip |
Clarify a comment.
llvm-svn: 114487
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp index 437de38131c..0e05a26d243 100644 --- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -796,7 +796,7 @@ bool CodeGenPrepare::MoveExtToFormExtLoad(Instruction *I) { bool CodeGenPrepare::OptimizeExtUses(Instruction *I) { BasicBlock *DefBB = I->getParent(); - // If both result of the {s|z}xt and its source are live out, rewrite all + // If the result of a {s|z}ext and its source are both live out, rewrite all // other uses of the source with result of extension. Value *Src = I->getOperand(0); if (Src->hasOneUse()) |