mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Use FuncInfo's isExportedInst accessor method instead of
doing the work manually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107384 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ffda6bac11
commit
c6f00e701e
@ -712,7 +712,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) {
|
||||
// Defer instructions with no side effects; they'll be emitted
|
||||
// on-demand later.
|
||||
if (BI->isSafeToSpeculativelyExecute() &&
|
||||
!FuncInfo->ValueMap.count(BI))
|
||||
!FuncInfo->isExportedInst(BI))
|
||||
continue;
|
||||
|
||||
// Try to select the instruction with FastISel.
|
||||
|
Loading…
Reference in New Issue
Block a user