diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-09-21 21:44:14 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-09-21 21:44:14 +0000 |
commit | 9120f5c35b756e0b9d7747616e97df8f30edfcc8 (patch) | |
tree | 2bc5817622d263c190b376fdde73d44d0171f356 /lib | |
parent | 9f27074f42f03af640977006dc7c05005fb77991 (diff) | |
download | llvm-9120f5c35b756e0b9d7747616e97df8f30edfcc8.tar.gz llvm-9120f5c35b756e0b9d7747616e97df8f30edfcc8.tar.bz2 llvm-9120f5c35b756e0b9d7747616e97df8f30edfcc8.tar.xz |
Clarify a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Transforms/Scalar/CodeGenPrepare.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/CodeGenPrepare.cpp b/lib/Transforms/Scalar/CodeGenPrepare.cpp index 437de38131..0e05a26d24 100644 --- a/lib/Transforms/Scalar/CodeGenPrepare.cpp +++ b/lib/Transforms/Scalar/CodeGenPrepare.cpp @@ -796,7 +796,7 @@ bool CodeGenPrepare::MoveExtToFormExtLoad(Instruction *I) { bool CodeGenPrepare::OptimizeExtUses(Instruction *I) { BasicBlock *DefBB = I->getParent(); - // If both result of the {s|z}xt and its source are live out, rewrite all + // If the result of a {s|z}ext and its source are both live out, rewrite all // other uses of the source with result of extension. Value *Src = I->getOperand(0); if (Src->hasOneUse()) |