diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-16 21:18:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-16 21:18:22 +0000 |
commit | aed48bfee87046f40330fc35d17265dd3aaf5dd5 (patch) | |
tree | ffb9062b3f946542933aadbb88a2bbe9e2de57e7 /lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
parent | 9468a9b6beed640eca64274c8dcc5aed3b94450b (diff) |
Include the alignment value when displaying ConstantPoolSDNodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56250 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index aca115fd84..8e3247fb67 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -158,6 +158,7 @@ std::string DOTGraphTraits<SelectionDAG*>::getNodeLabel(const SDNode *Node, Op += '>'; } } + Op += " A=" + itostr(1 << CP->getAlignment()); } else if (const BasicBlockSDNode *BBDN = dyn_cast<BasicBlockSDNode>(Node)) { Op = "BB: "; const Value *LBB = (const Value*)BBDN->getBasicBlock()->getBasicBlock(); |