[llvm] 4e48513 - [SelectionDAG] Add the fpexcept flag to the SelectionDAG dumping output so we can better see when its not propagating.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 16 18:05:32 PST 2019
Author: Craig Topper
Date: 2019-12-16T18:05:11-08:00
New Revision: 4e48513b472bddf239fc4a9953b0e8c856f284ef
URL: https://github.com/llvm/llvm-project/commit/4e48513b472bddf239fc4a9953b0e8c856f284ef
DIFF: https://github.com/llvm/llvm-project/commit/4e48513b472bddf239fc4a9953b0e8c856f284ef.diff
LOG: [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.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
index 8312a9a1d643..94e091189dbb 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 << "<";
More information about the llvm-commits
mailing list