[llvm-commits] [llvm] r172460 - /llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp

Nick Lewycky nicholas at mxc.ca
Mon Jan 14 12:56:10 PST 2013


Author: nicholas
Date: Mon Jan 14 14:56:10 2013
New Revision: 172460

URL: http://llvm.org/viewvc/llvm-project?rev=172460&view=rev
Log:
Fix typo in comment.

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp?rev=172460&r1=172459&r2=172460&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCasts.cpp Mon Jan 14 14:56:10 2013
@@ -739,7 +739,7 @@
 }
 
 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;





More information about the llvm-commits mailing list