Allow passing a dag into dump and getOperationName. If one is available
authorChris Lattner <sabre@nondot.org>
Tue, 16 Aug 2005 18:33:07 +0000 (18:33 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 Aug 2005 18:33:07 +0000 (18:33 +0000)
commitf3e133a35f5aa6ed32ca29aa3675eff349d61008
treeb102cf10b03513b42353ec65108218281a58f190
parentefe58694050e48b61584b8454434dcd1ad886a71
Allow passing a dag into dump and getOperationName.  If one is available
when printing a node, use it to render target operations with their
target instruction name instead of "<<unknown>>".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAG.cpp