diff options
Diffstat (limited to 'llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp')
-rw-r--r-- | llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp index f463d3ad7d1..94fdb3526db 100644 --- a/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -113,7 +113,7 @@ InstructionSelect(SelectionDAG &SD) #endif // Select target instructions for the DAG. - SD.setRoot(SelectRoot(SD.getRoot())); + SelectRoot(); #ifndef NDEBUG DOUT << "===== Instruction selection ends:\n"; |