diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-12-16 18:04:25 -0800 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-12-16 18:05:11 -0800 |
| commit | 4e48513b472bddf239fc4a9953b0e8c856f284ef (patch) | |
| tree | 41dc2041007986dffc602c32fbf81982201936f0 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | |
| parent | f495de43bd5da50286da6020e508d106cfc60f57 (diff) | |
| download | bcm5719-llvm-4e48513b472bddf239fc4a9953b0e8c856f284ef.tar.gz bcm5719-llvm-4e48513b472bddf239fc4a9953b0e8c856f284ef.zip | |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp index 8312a9a1d64..94e091189db 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp @@ -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 << "<"; |

