commit | ac931c011fae9392b5d68e763ec64ee25181c267 | [log] [tgz] |
---|---|---|
author | David Greene <greened@obbligato.org> | Fri Jan 15 19:43:23 2010 +0000 |
committer | David Greene <greened@obbligato.org> | Fri Jan 15 19:43:23 2010 +0000 |
tree | ecc7b06f8b53b117b137b982a3131ab64c2abc76 | |
parent | 54482b472a888c9efe003ad694ecf47b21878f0e [diff] |
Add some debug routines to SelectionDAG to dump full DAGs. print/dumpWithDepth allows one to dump a DAG up to N levels deep. dump/printWithFullDepth prints the whole DAG, subject to a depth limit on 100 in the default case (to prevent infinite recursion). Have CannotYetSelect to a dumpWithFullDepth so it is clearer exactly what the non-matching DAG looks like. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93538 91177308-0d34-0410-b5e6-96231b3b80d8