[PATCH] D133984: [SDAG] Print divergence in SDNode::dump

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 17:14:21 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp:1067
+  if (isDivergent()) {
+    OS << " :divergent";
+  }
----------------
Should print this before the operands so it's attached to the node name. Placement at the end makes it look like it's the one operand


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133984/new/

https://reviews.llvm.org/D133984



More information about the llvm-commits mailing list