mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47615 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -991,7 +991,7 @@ bool CodeGenPrepare::OptimizeExtUses(Instruction *I) {
|
||||
return false;
|
||||
|
||||
// Only do this xform if truncating is free.
|
||||
if (!TLI->isTruncateFree(I->getType(), Src->getType()))
|
||||
if (TLI && !TLI->isTruncateFree(I->getType(), Src->getType()))
|
||||
return false;
|
||||
|
||||
// Only safe to perform the optimization if the source is also defined in
|
||||
|
Reference in New Issue
Block a user