commit | ce6715faa37b2e44edcf400084aa808ae30d7085 | [log] [tgz] |
---|---|---|
author | David Greene <greened@obbligato.org> | Tue Jan 19 20:37:34 2010 +0000 |
committer | David Greene <greened@obbligato.org> | Tue Jan 19 20:37:34 2010 +0000 |
tree | 48d9e0200f70bd00635046cdf2fb9f6ab109effd | |
parent | b9a25b7744ed12b80031426978decce3d4cebbd7 [diff] [blame] |
Add some new debugging APIs to print out "raw" SelectionDAGs to make understanding CannotYTetSelect and other errors easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93901 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index e539664..d0fc02d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -1426,7 +1426,7 @@ std::string msg; raw_string_ostream Msg(msg); Msg << "Cannot yet select: "; - N->printWithFullDepth(Msg, CurDAG); + N->printrFull(Msg, CurDAG); llvm_report_error(Msg.str()); }