ychen added inline comments.
================
Comment at: llvm/lib/Target/BPF/BPFTargetMachine.cpp:129
bool DebugPassManager) {
PB.registerPipelineStartEPCallback([=](ModulePassManager &MPM) {
FunctionPassManager FPM(DebugPassManager);
----------------
Maybe I missed something. Except for PipelineStartEPCallback, all the other EP
callbacks already take `OptimizationLevel` as input, do we only need to extend
PipelineStartEPCallback to also take `OptimizationLevel` as input?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90486/new/
https://reviews.llvm.org/D90486
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits