diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp index 8da09127e96c..7c7352d122df 100644 --- a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -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;