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 | 63b95a6f820d768797b28bbfd5c12fabf74b7f1d (patch) | |
tree | 664962c6bed00a6cc4d1f70bec8ec1819955d848 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | cf32c6e0049405b521f0baf720d1fe76ec510b26 (diff) | |
download | external_llvm-63b95a6f820d768797b28bbfd5c12fabf74b7f1d.zip external_llvm-63b95a6f820d768797b28bbfd5c12fabf74b7f1d.tar.gz external_llvm-63b95a6f820d768797b28bbfd5c12fabf74b7f1d.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)) |