diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-01 03:57:05 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-01 03:57:05 +0000 |
| commit | 42b7ee15f5f7b1fa2d542ef772e45e0965427008 (patch) | |
| tree | fed038f6931e9201e557831b2cc988b0f4eca550 /llvm/lib/CodeGen | |
| parent | 85e02e9340b370568f87ebc72a2d310fca2a2d90 (diff) | |
| download | bcm5719-llvm-42b7ee15f5f7b1fa2d542ef772e45e0965427008.tar.gz bcm5719-llvm-42b7ee15f5f7b1fa2d542ef772e45e0965427008.zip | |
Use FuncInfo's isExportedInst accessor method instead of
doing the work manually.
llvm-svn: 107384
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 7e78bf1b7ad..073e2964d20 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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. |

