[all-commits] [llvm/llvm-project] 4463b7: Enable opt-bisect for the new pass manager
Josh Stone via All-commits
all-commits at lists.llvm.org
Mon Nov 9 15:58:07 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4463b73e790fdf8bdbb18ac4ae3432217215daa5
https://github.com/llvm/llvm-project/commit/4463b73e790fdf8bdbb18ac4ae3432217215daa5
Author: Josh Stone <jistone at redhat.com>
Date: 2020-11-09 (Mon, 09 Nov 2020)
Changed paths:
M llvm/include/llvm/IR/OptBisect.h
M llvm/include/llvm/Passes/StandardInstrumentations.h
M llvm/lib/Passes/StandardInstrumentations.cpp
A llvm/test/Other/opt-bisect-new-pass-manager.ll
Log Message:
-----------
Enable opt-bisect for the new pass manager
This instruments a should-run-optional-pass callback using the existing
OptBisect class to decide if new passes should be skipped. Passes that
force isRequired never reach this at all, so they are not included in
"BISECT:" output nor its pass count.
The test case is resurrected from r267022, an early version of D19172
that had new pass manager support (later reverted and redone without).
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D87951
More information about the All-commits
mailing list