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 | d2965c10a1b64c6678cccd4708efe12f0f78bfeb (patch) | |
tree | 935082193406f6402b9ef3c6d8cd4560a333788e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 1b30951f2f849860f9118e2c5c338b700efbfddd (diff) | |
download | bcm5719-llvm-d2965c10a1b64c6678cccd4708efe12f0f78bfeb.tar.gz bcm5719-llvm-d2965c10a1b64c6678cccd4708efe12f0f78bfeb.zip |
Temporarily disable on-demand fast-isel.
llvm-svn: 107393
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 073e2964d20..94f0efcb70a 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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)) |