[PATCH] D133709: -dot-machine-cfg for printing MachineFunction to a dot file

Yashwant Singh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 08:21:41 PDT 2022


yassingh updated this revision to Diff 460771.
yassingh marked 3 inline comments as done.
yassingh added a comment.

Syntax changes addressing reviewers comments


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133709

Files:
  llvm/include/llvm/CodeGen/MachineCFGPrinter.h


Index: llvm/include/llvm/CodeGen/MachineCFGPrinter.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineCFGPrinter.h
+++ llvm/include/llvm/CodeGen/MachineCFGPrinter.h
@@ -1,5 +1,4 @@
-//===-- MachineCFGPrinter.h --------------------------------------------*- C++
-//-*-===//
+//===-- MachineCFGPrinter.h -----------------------------------------------===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.
@@ -126,6 +125,7 @@
                            DOTFuncInfo *CFGInfo) {
     if (isSimple())
       return getSimpleNodeLabel(Node, CFGInfo);
+
     return getCompleteNodeLabel(Node, CFGInfo);
   }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133709.460771.patch
Type: text/x-patch
Size: 759 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/7926c677/attachment.bin>


More information about the llvm-commits mailing list