Fix typo.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 13 Dec 2007 07:50:36 +0000 (07:50 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 13 Dec 2007 07:50:36 +0000 (07:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44997 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/CodeGenPrepare.cpp

index 8da09127e96c3077203bf1da39415451241f8991..7c7352d122dfdc4b80e585de11e54f524010a2ce 100644 (file)
@@ -929,7 +929,7 @@ bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
   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;