diff options
| author | David Greene <greened@obbligato.org> | 2008-10-27 21:56:29 +0000 |
|---|---|---|
| committer | David Greene <greened@obbligato.org> | 2008-10-27 21:56:29 +0000 |
| commit | ce2a938186bdf15adfa60d743d48854973b8d4cc (patch) | |
| tree | a82b32137631acb3213d6514785c18e1861f1ac3 /llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | |
| parent | bf26368255d282aec6f5675152b03b1ff24d9ef7 (diff) | |
| download | bcm5719-llvm-ce2a938186bdf15adfa60d743d48854973b8d4cc.tar.gz bcm5719-llvm-ce2a938186bdf15adfa60d743d48854973b8d4cc.zip | |
Have TableGen emit setSubgraphColor calls under control of a -gen-debug
flag. Then in a debugger developers can set breakpoints at these calls
to see waht is about to be selected and what the resulting subgraph
looks like. This really helps when debugging instruction selection.
llvm-svn: 58278
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelDAGToDAG.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 6735f1d80b7..c3419809786 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -655,7 +655,7 @@ void X86DAGToDAGISel::InstructionSelect() { DOUT << "===== Instruction selection begins:\n"; Indent = 0; #endif - SelectRoot(); + SelectRoot(*CurDAG); #ifndef NDEBUG DOUT << "===== Instruction selection ends:\n"; #endif |

