[llvm-commits] [llvm] r114487 - /llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Bob Wilson bob.wilson at apple.com
Tue Sep 21 14:44:14 PDT 2010


Author: bwilson
Date: Tue Sep 21 16:44:14 2010
New Revision: 114487

URL: http://llvm.org/viewvc/llvm-project?rev=114487&view=rev
Log:
Clarify a comment.

Modified:
    llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp?rev=114487&r1=114486&r2=114487&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp Tue Sep 21 16:44:14 2010
@@ -796,7 +796,7 @@
 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())





More information about the llvm-commits mailing list