diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-20 17:50:32 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-20 17:50:32 +0000 |
commit | d4207893014f2d36f31fce607405336fc38cd4b7 (patch) | |
tree | 5de687a999ce007eef5ad8d95b4566e92a9969a2 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 98f8ccfad06c8928d899f506731987f951b2ebe4 (diff) | |
download | llvm-d4207893014f2d36f31fce607405336fc38cd4b7.tar.gz llvm-d4207893014f2d36f31fce607405336fc38cd4b7.tar.bz2 llvm-d4207893014f2d36f31fce607405336fc38cd4b7.tar.xz |
Kill off SimpleBBISel, it's replaced by FastISel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index f38b2ebaf7..e4447c3607 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -13,7 +13,6 @@ #define DEBUG_TYPE "isel" #include "llvm/CodeGen/SelectionDAGISel.h" -#include "SimpleBBISel.h" #include "llvm/ADT/BitVector.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Constants.h" @@ -5486,14 +5485,12 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, MachineFunction &MF, // each basic block. NodeAllocatorType NodeAllocator; - SimpleBBISel SISel(MF, TLI); std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate; for (Function::iterator I = Fn.begin(), E = Fn.end(); I != E; ++I) { BasicBlock *LLVMBB = &*I; PHINodesToUpdate.clear(); - if (!Fast || !SISel.SelectBasicBlock(LLVMBB, FuncInfo.MBBMap[LLVMBB])) - SelectBasicBlock(LLVMBB, MF, FuncInfo, PHINodesToUpdate, NodeAllocator); + SelectBasicBlock(LLVMBB, MF, FuncInfo, PHINodesToUpdate, NodeAllocator); FinishBasicBlock(LLVMBB, MF, FuncInfo, PHINodesToUpdate, NodeAllocator); } } |