[PATCH] D88855: [BPF][NewPM] Make BPFTargetMachine properly adjust NPM optimizer pipeline

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 5 22:56:58 PDT 2020


yonghong-song accepted this revision.
yonghong-song added a comment.

I think I got how to enable npm in opt. It is `-passes` option in `opt -passes='default<O2>' %s`. It looks good. Will stamp it.

I have another patch I plan to land https://reviews.llvm.org/D85570 which inserts a pass for EP_ModuleOptimizerEarly. Does it correspond to NPM registerPipelineStartEPCallback() callback function?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88855/new/

https://reviews.llvm.org/D88855



More information about the llvm-commits mailing list