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 | ab26f20d4430e4f88b6f0154adf64ed02e107150 (patch) | |
tree | 1c66fcce90f0a66c6411aad60f40ffb39ae78440 /llvm/lib/CodeGen | |
parent | 8bc392fb1d67f29d594c1b03a58f21867b83d923 (diff) | |
download | bcm5719-llvm-ab26f20d4430e4f88b6f0154adf64ed02e107150.tar.gz bcm5719-llvm-ab26f20d4430e4f88b6f0154adf64ed02e107150.zip |
Include the alignment value when displaying ConstantPoolSDNodes.
llvm-svn: 56250
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp index aca115fd84e..8e3247fb673 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp +++ b/llvm/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(); |