[PATCH] D81555: [NewPM][PassInstrumentation] Add PreservedAnalyses parameter to AfterPass* callbacks. NFC

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 10 05:58:10 PDT 2020


yrouban created this revision.
yrouban added reviewers: RKSimon, chandlerc, fedor.sergeev.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
yrouban added a parent revision: D81554: [ADT] Allow IsSizeLessThanThresholdT for incomplete types. NFC.
yrouban added a child revision: D81558: [NewPM] Introduce PreserveCFG check.
yrouban edited the summary of this revision.

Both //AfterPass// and //AfterPassInvalidated// pass instrumentation callbacks get additional parameter of type //PreservedAnalyses//.
This patch was created by @fedor.sergeev. I have just slightly changed it a bit.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81555

Files:
  llvm/include/llvm/Analysis/CGSCCPassManager.h
  llvm/include/llvm/IR/PassInstrumentation.h
  llvm/include/llvm/IR/PassManager.h
  llvm/include/llvm/Transforms/Scalar/LoopPassManager.h
  llvm/lib/Analysis/CGSCCPassManager.cpp
  llvm/lib/IR/PassTimingInfo.cpp
  llvm/lib/Passes/StandardInstrumentations.cpp
  llvm/lib/Transforms/Scalar/LoopPassManager.cpp
  llvm/unittests/IR/PassBuilderCallbacksTest.cpp
  llvm/unittests/IR/TimePassesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81555.269805.patch
Type: text/x-patch
Size: 18015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200610/d0701d73/attachment-0001.bin>


More information about the llvm-commits mailing list