[PATCH] D87951: Enable opt-bisect for the new pass manager

Josh Stone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 15:08:40 PDT 2020


cuviper created this revision.
cuviper added a reviewer: aeubanks.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
cuviper requested review of this revision.

This instruments a before-pass callback using the existing OptBisect
class to decide if new passes should be skipped. Passes that force
isRequired will still run anyway.

The test case is resurrected from r267022, an early version of D19172 <https://reviews.llvm.org/D19172>
that had new pass manager support (later reverted and redone without).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87951

Files:
  llvm/include/llvm/IR/OptBisect.h
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Other/opt-bisect-new-pass-manager.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87951.292916.patch
Type: text/x-patch
Size: 10054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200918/9535ae0d/attachment.bin>


More information about the llvm-commits mailing list