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

Evan Cheng evan.cheng at apple.com
Wed Dec 12 23:50:36 PST 2007


Author: evancheng
Date: Thu Dec 13 01:50:36 2007
New Revision: 44997

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

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=44997&r1=44996&r2=44997&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp Thu Dec 13 01:50:36 2007
@@ -929,7 +929,7 @@
   if (Src->hasOneUse())
     return false;
 
-  // Only do this xform is truncating is free.
+  // Only do this xform if truncating is free.
   if (!TLI->isTruncateFree(I->getType(), Src->getType()))
     return false;
 





More information about the llvm-commits mailing list