[all-commits] [llvm/llvm-project] be00ed: [NewPM] Fix -print-changed when a -filter-print-fu...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Apr 12 12:01:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be00edfee55ee00b76a113e825d6614302abf983
      https://github.com/llvm/llvm-project/commit/be00edfee55ee00b76a113e825d6614302abf983
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-04-12 (Mon, 12 Apr 2021)

  Changed paths:
    M llvm/lib/Passes/StandardInstrumentations.cpp
    A llvm/test/Other/print-changed-deleted.ll

  Log Message:
  -----------
  [NewPM] Fix -print-changed when a -filter-print-funcs function is removed

-filter-print-funcs -print-changed was crashing after the filter func
was removed by a pass with
  Assertion failed: After.find("*** IR Dump") == 0 && "Unexpected banner format."
We weren't printing the banner because when we have -filter-print-funcs,
we print each function separately, letting the print function filter out
unwanted functions.

Reviewed By: jamieschmeiser

Differential Revision: https://reviews.llvm.org/D100237




More information about the All-commits mailing list