[all-commits] [llvm/llvm-project] 5cf0c2: [NewPM][PassInstrument] Add a new kind of before-p...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Wed Jul 29 08:27:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cf0c2e67b802b71ba1d8e02d985c9133afb7fc8
      https://github.com/llvm/llvm-project/commit/5cf0c2e67b802b71ba1d8e02d985c9133afb7fc8
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/include/llvm/IR/PassInstrumentation.h
    M llvm/unittests/IR/PassBuilderCallbacksTest.cpp

  Log Message:
  -----------
  [NewPM][PassInstrument] Add a new kind of before-pass callback that only get called if the pass is not skipped

TODO
 * PrintIRInstrumentation and TimePassesHandler would be using this new callback.
 * "Running pass" logging will also be moved to use this callback.

Reviewed By: aeubanks

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


  Commit: 7a2e1122ae4611916c920c815a4310085ed04830
      https://github.com/llvm/llvm-project/commit/7a2e1122ae4611916c920c815a4310085ed04830
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M llvm/include/llvm/IR/PassTimingInfo.h
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/IR/PassTimingInfo.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  [NewPM][PassInstrument] Make PrintIR and TimePasses to use before-pass-run callback

Reviewed By: asbirlea, aeubanks

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


Compare: https://github.com/llvm/llvm-project/compare/ee05167cc42b...7a2e1122ae46


More information about the All-commits mailing list