summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-12-13 07:50:36 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-12-13 07:50:36 +0000
commit2011df4e399e31bebbbec3fff995f0df560f6dca (patch)
tree900f702a98faf61a16a0ed439560ca2c04a588bc /llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
parenteb13c73c369f1a59cf0ad4ff3267d34fed82b501 (diff)
downloadbcm5719-llvm-2011df4e399e31bebbbec3fff995f0df560f6dca.tar.gz
bcm5719-llvm-2011df4e399e31bebbbec3fff995f0df560f6dca.zip
Fix typo.
llvm-svn: 44997
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp b/llvm/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 8da09127e96..7c7352d122d 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;
OpenPOWER on IntegriCloud