From aed48bfee87046f40330fc35d17265dd3aaf5dd5 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 16 Sep 2008 21:18:22 +0000 Subject: [PATCH] Include the alignment value when displaying ConstantPoolSDNodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56250 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index aca115fd84e..8e3247fb673 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp @@ -158,6 +158,7 @@ std::string DOTGraphTraits::getNodeLabel(const SDNode *Node, Op += '>'; } } + Op += " A=" + itostr(1 << CP->getAlignment()); } else if (const BasicBlockSDNode *BBDN = dyn_cast(Node)) { Op = "BB: "; const Value *LBB = (const Value*)BBDN->getBasicBlock()->getBasicBlock(); -- 2.34.1