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.
Paths
| Differential D88764
[NewPM] Use PassInstrumentation for -verify-each ClosedPublic Authored by aeubanks on Oct 2 2020, 4:36 PM.
Details Summary 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.
Diff Detail
Unit TestsFailed Event TimelineComment Actions Nice cleanup!
Comment Actions remove extra braces This revision is now accepted and ready to land.Oct 7 2020, 7:08 PM This revision was landed with ongoing or failed builds.Oct 7 2020, 7:24 PM Closed by commit rG6dcbea877bff: [NewPM] Use PassInstrumentation for -verify-each (authored by aeubanks). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 295932 llvm/include/llvm/Passes/PassBuilder.h
llvm/include/llvm/Passes/StandardInstrumentations.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/StandardInstrumentations.cpp
llvm/test/Other/new-pass-manager-verify-each.ll
llvm/test/Other/new-pass-manager.ll
llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp
llvm/tools/opt/NewPMDriver.cpp
llvm/unittests/IR/PassBuilderCallbacksTest.cpp
polly/lib/Support/RegisterPasses.cpp
|
To encode more information in the output, how about adding the suffix "for loop <loop name>" for loop pass?
Ditto for cgscc pass. Also, check the full string such as "Verifying module <x>", "Verifying module <x> for loop <y>" etc.