commit | ad3460c3c968e33c5b9a07104b9fe5a5c27ff55b | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Aug 21 16:36:34 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Aug 21 16:36:34 2008 +0000 |
tree | 8734fb2e04f095fd6c1dcbda1d89fa9debb00153 | |
parent | ca84121596640c99887f909f3b9a3ae830391e64 [diff] [blame] |
Simplify SelectRoot's interface, and factor out some common code from all targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55124 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 13ed07c..21837d5 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp
@@ -592,7 +592,7 @@ DOUT << "===== Instruction selection begins:\n"; Indent = 0; #endif - DAG.setRoot(SelectRoot(DAG.getRoot())); + SelectRoot(); #ifndef NDEBUG DOUT << "===== Instruction selection ends:\n"; #endif