commit | 2e5eeceeb7a100a4fe93d2535cad29829b87d101 | [log] [tgz] |
---|---|---|
author | Alexander Timofeev <Alexander.Timofeev@amd.com> | Mon Mar 05 15:12:21 2018 +0000 |
committer | Alexander Timofeev <Alexander.Timofeev@amd.com> | Mon Mar 05 15:12:21 2018 +0000 |
tree | ee0d108da103650da7d421f984a4f2f36efc9e3b | |
parent | 15186d493818ca82087ef766d3f488cc16062787 [diff] [blame] |
Pass Divergence Analysis data to Selection DAG to drive divergence dependent instruction selection. Differential revision: https://reviews.llvm.org/D35267 llvm-svn: 326703
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp index a7db5da..4c58fb1 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -629,6 +629,8 @@ if (getNodeId() != -1) OS << " [ID=" << getNodeId() << ']'; + if (!(isa<ConstantSDNode>(this) || (isa<ConstantFPSDNode>(this)))) + OS << "# D:" << isDivergent(); if (!G) return;