forked from OSchip/llvm-project
parent
eb13c73c36
commit
2011df4e39
|
@ -929,7 +929,7 @@ bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
|
||||||
if (Src->hasOneUse())
|
if (Src->hasOneUse())
|
||||||
return false;
|
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()))
|
if (!TLI->isTruncateFree(I->getType(), Src->getType()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue