[llvm] [SelectionDAG] add cli option to write SelectionDAG graphviz to file (PR #161979)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 28 18:11:55 PST 2025


================
@@ -175,16 +175,21 @@ static cl::opt<bool>
 ViewISelDAGs("view-isel-dags", cl::Hidden,
           cl::desc("Pop up a window to show isel dags as they are selected"));
 static cl::opt<bool>
-ViewSchedDAGs("view-sched-dags", cl::Hidden,
-          cl::desc("Pop up a window to show sched dags as they are processed"));
+    WriteDAGsToFile("write-dags-to-file", cl::Hidden,
----------------
topperc wrote:

Put the new option after the other view options?

https://github.com/llvm/llvm-project/pull/161979


More information about the llvm-commits mailing list