commit | 8a389bb37603fa99a980475a4f5cdc27fa4014f1 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 15 21:11:37 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 15 21:11:37 2005 +0000 |
tree | efaecc2bc159758fc569f9fdd9bba58c492c8655 | |
parent | 33eba0440c3872fb87d31e7ea806e89ae444b756 [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index f398568..00f8657 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -90,6 +90,8 @@ } else if (const ExternalSymbolSDNode *ES = dyn_cast<ExternalSymbolSDNode>(Node)) { Op += "'" + std::string(ES->getSymbol()) + "'"; + } else if (const MVTSDNode *M = dyn_cast<MVTSDNode>(Node)) { + Op = Op + "ty=" + MVT::getValueTypeString(M->getExtraValueType()); } return Op; }