[PATCH] D90545: [NewPM] Don't run before pass instrumentation on required passes

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 31 23:11:11 PDT 2020


aeubanks created this revision.
aeubanks added reviewers: ychen, asbirlea.
Herald added subscribers: llvm-commits, dexonsmith, jfb, hiraditya.
Herald added a project: LLVM.
aeubanks requested review of this revision.

This allows those instrumentation to log when they decide to skip a
pass. This provides extra helpful info for optnone functions and also
will help with opt-bisect.

Have OptNoneInstrumentation print when it skips due to seeing optnone.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90545

Files:
  llvm/include/llvm/IR/PassInstrumentation.h
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/test/Feature/optnone-opt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90545.302120.patch
Type: text/x-patch
Size: 7897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201101/57fee0dd/attachment.bin>


More information about the llvm-commits mailing list