When printing MemOperand nodes, only use print() for
authorDan Gohman <gohman@apple.com>
Thu, 17 Jul 2008 21:12:16 +0000 (21:12 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 17 Jul 2008 21:12:16 +0000 (21:12 +0000)
commitdc5f936bf898a945b7b5a823d00ef9b336f2dc6a
treebc369bb079b17db0cab0ae67c8a82c1bf2aa6b21
parentf7d3ecf0912b8ce083536f4df5677b540ee9592b
When printing MemOperand nodes, only use print() for
PseudoSourceValue values, which never have names. Use getName()
for all other values, because we want to print just a short summary
of the value, not the entire instruction.

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