[PATCH] D122296: [NewPM] Add OptimizerEarly module extension point

Wenju He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 01:08:02 PDT 2022


wenju created this revision.
wenju added a reviewer: aeubanks.
Herald added a subscriber: hiraditya.
Herald added a project: All.
wenju requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

VectorizerStart extension is module callback in old PM, but is function
callback in new PM. We lack a module extension point between end of
buildModuleSimplificationPipeline and the function optimization
(including vectorizer) pipeline. So this patch adds a new module
extension point before the function optimization pipeline.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122296

Files:
  llvm/include/llvm/Passes/PassBuilder.h
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/test/Other/new-pm-O0-ep-callbacks.ll
  llvm/test/Other/new-pm-defaults.ll
  llvm/tools/opt/NewPMDriver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122296.417520.patch
Type: text/x-patch
Size: 6819 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220323/f419de52/attachment.bin>


More information about the llvm-commits mailing list