forked from OSchip/llvm-project
[SelectionDAG] Add printing support for the Align value of AssertAlign nodes.
Differential Revision: https://reviews.llvm.org/D122262
This commit is contained in:
parent
d83a706827
commit
73f0af106b
|
@ -817,6 +817,8 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
|
|||
} else if (const LifetimeSDNode *LN = dyn_cast<LifetimeSDNode>(this)) {
|
||||
if (LN->hasOffset())
|
||||
OS << "<" << LN->getOffset() << " to " << LN->getOffset() + LN->getSize() << ">";
|
||||
} else if (const auto *AA = dyn_cast<AssertAlignSDNode>(this)) {
|
||||
OS << '<' << AA->getAlign().value() << '>';
|
||||
}
|
||||
|
||||
if (VerboseDAGDumping) {
|
||||
|
|
Loading…
Reference in New Issue