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/IA64 | |
parent | 9a40d3361ac29fd3c9e0b4a0aa5c7845cc46ec25 (diff) | |
download | external_llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.zip external_llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.tar.gz external_llvm-8ad4c00c00233acb8a3395098e2b575cc34de46b.tar.bz2 |
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/IA64')
-rw-r--r-- | lib/Target/IA64/IA64ISelDAGToDAG.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 6d31993..ae59ea2 100644 --- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/lib/Target/IA64/IA64ISelDAGToDAG.cpp @@ -97,7 +97,7 @@ void IA64DAGToDAGISel::InstructionSelect() { DEBUG(BB->dump()); // Select target instructions for the DAG. - SelectRoot(); + SelectRoot(*CurDAG); CurDAG->RemoveDeadNodes(); } |