diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-15 21:11:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-15 21:11:37 +0000 |
commit | 8a389bb37603fa99a980475a4f5cdc27fa4014f1 (patch) | |
tree | efaecc2bc159758fc569f9fdd9bba58c492c8655 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 33eba0440c3872fb87d31e7ea806e89ae444b756 (diff) |
Print extra type for nodes with extra type info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 52cef5b89c..89c53e8c1b 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -1123,6 +1123,8 @@ void SDNode::dump() const { } else if (const ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(this)) { std::cerr << "'" << ES->getSymbol() << "'"; + } else if (const MVTSDNode *M = dyn_cast<MVTSDNode>(this)) { + std::cerr << " - Ty = " << MVT::getValueTypeString(M->getExtraValueType()); } } |