[all-commits] [llvm/llvm-project] 6dcbea: [NewPM] Use PassInstrumentation for -verify-each

aeubanks via All-commits all-commits at lists.llvm.org
Wed Oct 7 19:24:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dcbea877bffcd5871cf6002616a5dcdfece0b86
      https://github.com/llvm/llvm-project/commit/6dcbea877bffcd5871cf6002616a5dcdfece0b86
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-10-07 (Wed, 07 Oct 2020)

  Changed paths:
    M llvm/include/llvm/Passes/PassBuilder.h
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/StandardInstrumentations.cpp
    A llvm/test/Other/new-pass-manager-verify-each.ll
    M llvm/test/Other/new-pass-manager.ll
    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] Use PassInstrumentation for -verify-each

This removes "VerifyEachPass" parameters from a lot of functions which is nice.

Don't verify after special passes or VerifierPass.

This introduces verification on loop and cgscc passes, verifying the corresponding function/module.

Reviewed By: ychen

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




More information about the All-commits mailing list