diff options
| author | Dan Gohman <gohman@apple.com> | 2010-07-01 12:15:30 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-07-01 12:15:30 +0000 |
| commit | 21baf9a969a3edf80b3bc5206308963ee7ed93fb (patch) | |
| tree | 664962c6bed00a6cc4d1f70bec8ec1819955d848 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | fa0879fabd13d4600547d4cdbbffd3c09aedf14d (diff) | |
| download | external_llvm-21baf9a969a3edf80b3bc5206308963ee7ed93fb.zip external_llvm-21baf9a969a3edf80b3bc5206308963ee7ed93fb.tar.gz external_llvm-21baf9a969a3edf80b3bc5206308963ee7ed93fb.tar.bz2 | |
Temporarily disable on-demand fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 073e296..94f0efc 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -709,11 +709,13 @@ void SelectionDAGISel::SelectAllBasicBlocks(const Function &Fn) { FastIS->startNewBlock(BB); // Do FastISel on as many instructions as possible. for (; BI != End; ++BI) { +#if 0 // Defer instructions with no side effects; they'll be emitted // on-demand later. if (BI->isSafeToSpeculativelyExecute() && !FuncInfo->isExportedInst(BI)) continue; +#endif // Try to select the instruction with FastISel. if (FastIS->SelectInstruction(BI)) |
