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 | 8ad4c00c00233acb8a3395098e2b575cc34de46b (patch) | |
tree | 5df349b3bbb9c33edd4a4b5a52f2ca8f74d8fc5f /lib/Target/Mips/MipsISelDAGToDAG.cpp | |
parent | 9a40d3361ac29fd3c9e0b4a0aa5c7845cc46ec25 (diff) | |
download | llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.tar.gz llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.tar.bz2 llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/Mips/MipsISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index 2e3756a871..b31bcbdc0b 100644 --- a/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -105,7 +105,7 @@ InstructionSelect() #endif // Select target instructions for the DAG. - SelectRoot(); + SelectRoot(*CurDAG); #ifndef NDEBUG DOUT << "===== Instruction selection ends:\n"; |