[all-commits] [llvm/llvm-project] 111aa4: [NewPM] Add callbacks to PassBuilder to run before...

aeubanks via All-commits all-commits at lists.llvm.org
Wed Sep 23 15:29:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 111aa4e36614d9a056cf5040d4d7bbfddeb9ebb2
      https://github.com/llvm/llvm-project/commit/111aa4e36614d9a056cf5040d4d7bbfddeb9ebb2
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-09-23 (Wed, 23 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
    M llvm/tools/opt/NewPMDriver.cpp
    M llvm/unittests/IR/PassBuilderCallbacksTest.cpp
    M polly/lib/Support/RegisterPasses.cpp

  Log Message:
  -----------
  [NewPM] Add callbacks to PassBuilder to run before/after parsing a pass

This is in preparation for supporting -debugify-each, which adds a debug
info pass before and after each pass.

Switch VerifyEach to use this.

Reviewed By: ychen

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




More information about the All-commits mailing list