diff options
| author | Juergen Ributzka <juergen@apple.com> | 2013-11-19 21:20:17 +0000 |
|---|---|---|
| committer | Juergen Ributzka <juergen@apple.com> | 2013-11-19 21:20:17 +0000 |
| commit | b34871027f755ca60331300c143f1e3c5d77a564 (patch) | |
| tree | b5aa4098a574a98ea62b957efa414f3baeeedadc /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
| parent | 09d689f90c745119a320c0808d775d5c60aaaade (diff) | |
| download | bcm5719-llvm-b34871027f755ca60331300c143f1e3c5d77a564.tar.gz bcm5719-llvm-b34871027f755ca60331300c143f1e3c5d77a564.zip | |
[DAG] Refactor vector splitting code in SelectionDAG. No functional change intended.
Reviewed by Tom
llvm-svn: 195156
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 8bf875642b9..15f2ee249e1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -356,6 +356,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { const Function &Fn = *mf.getFunction(); const TargetInstrInfo &TII = *TM.getInstrInfo(); const TargetRegisterInfo &TRI = *TM.getRegisterInfo(); + const TargetLowering *TLI = TM.getTargetLowering(); MF = &mf; RegInfo = &MF->getRegInfo(); @@ -373,7 +374,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { SplitCriticalSideEffectEdges(const_cast<Function&>(Fn), this); - CurDAG->init(*MF, TTI); + CurDAG->init(*MF, TTI, TLI); FuncInfo->set(Fn, *MF); if (UseMBPI && OptLevel != CodeGenOpt::None) |

