mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Clarify a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114487 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9f27074f42
commit
9120f5c35b
@ -796,7 +796,7 @@ bool CodeGenPrepare::MoveExtToFormExtLoad(Instruction *I) {
|
|||||||
bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
|
bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
|
||||||
BasicBlock *DefBB = I->getParent();
|
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.
|
// other uses of the source with result of extension.
|
||||||
Value *Src = I->getOperand(0);
|
Value *Src = I->getOperand(0);
|
||||||
if (Src->hasOneUse())
|
if (Src->hasOneUse())
|
||||||
|
Loading…
Reference in New Issue
Block a user