[all-commits] [llvm/llvm-project] 0bda12: [NewPM] Add OptimizerEarly module extension point

Wenju He via All-commits all-commits at lists.llvm.org
Thu Mar 31 08:22:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bda12b5bcea578b94417217e8f32024c71a4f24
      https://github.com/llvm/llvm-project/commit/0bda12b5bcea578b94417217e8f32024c71a4f24
  Author: Wenju He <wenju.he at intel.com>
  Date:   2022-03-31 (Thu, 31 Mar 2022)

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

  Log Message:
  -----------
  [NewPM] Add OptimizerEarly module extension point

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.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D122296




More information about the All-commits mailing list