[PATCH] D29554: [SelectionDAG] Dump the DAG after legalizing vector ops and after the second type legalization

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 9 21:17:36 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL294711: [SelectionDAG] Dump the DAG after legalizing vector ops and after the second… (authored by ctopper).

Changed prior to commit:
  https://reviews.llvm.org/D29554?vs=87124&id=87962#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29554

Files:
  llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp


Index: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -834,12 +834,18 @@
   }
 
   if (Changed) {
+    DEBUG(dbgs() << "Vector-legalized selection DAG: BB#" << BlockNumber
+          << " '" << BlockName << "'\n"; CurDAG->dump());
+
     {
       NamedRegionTimer T("legalize_types2", "Type Legalization 2", GroupName,
                          GroupDescription, TimePassesIsEnabled);
       CurDAG->LegalizeTypes();
     }
 
+    DEBUG(dbgs() << "Vector/type-legalized selection DAG: BB#" << BlockNumber
+          << " '" << BlockName << "'\n"; CurDAG->dump());
+
     if (ViewDAGCombineLT && MatchFilterBB)
       CurDAG->viewGraph("dag-combine-lv input for " + BlockName);
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29554.87962.patch
Type: text/x-patch
Size: 882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170210/abc7d505/attachment.bin>


More information about the llvm-commits mailing list