[PATCH] D45772: [Minor patch] Fix IR Module Printing

Son Tuan Vu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 14:43:55 PDT 2018


tyb0807 added a comment.

So for now, with `-print-after-all` or `-print-before-all` options in `opt`, we have the banner and the first line of the IR Module on a same line, e.g:

  *** IR Dump After Force set function attributes *** ; ModuleID = '<stdin>'
  source_filename = "main.c"
  ...

This PR should fix this and we'll have:

  *** IR Dump After Force set function attributes ***
  ; ModuleID = '<stdin>'
  source_filename = "main.c"
  ...


Repository:
  rL LLVM

https://reviews.llvm.org/D45772





More information about the llvm-commits mailing list