projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f27074
)
Clarify a comment.
author
Bob Wilson
<bob.wilson@apple.com>
Tue, 21 Sep 2010 21:44:14 +0000
(21:44 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Tue, 21 Sep 2010 21:44:14 +0000
(21:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114487
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/CodeGenPrepare.cpp
b/lib/Transforms/Scalar/CodeGenPrepare.cpp
index 437de38131cbd8bef3ac092560029a99b8795ca0..0e05a26d243b860b87b9088591eb7d0bca81061b 100644
(file)
--- 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())