[SelectionDAG] Add the fpexcept flag to the SelectionDAG dumping output so we can better see when its not propagating.

We're currently losing this flag in type legalization and probably
other places when we expand strict fp nodes. This will make
reading logs easier.
This commit is contained in:
Craig Topper 2019-12-16 18:04:25 -08:00
parent f495de43bd
commit 4e48513b47
1 changed files with 3 additions and 0 deletions

View File

@ -543,6 +543,9 @@ void SDNode::print_details(raw_ostream &OS, const SelectionDAG *G) const {
if (getFlags().hasVectorReduction())
OS << " vector-reduction";
if (getFlags().hasFPExcept())
OS << " fpexcept";
if (const MachineSDNode *MN = dyn_cast<MachineSDNode>(this)) {
if (!MN->memoperands_empty()) {
OS << "<";