[PATCH] D89158: [NewPM] Run all EP callbacks under -O0
Nikita Popov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 00:41:37 PDT 2020
nikic added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1439
if (CodeGenOpts.OptimizationLevel == 0) {
+ PB.runRegisteredEPCallbacks(MPM, Level, CodeGenOpts.DebugPassManager);
+
----------------
It should be possible to simplify this function a lot now. It currently duplicates nearly all logic (for sanitizers etc) between O0 and O1+. Or is that planned for a followup?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89158/new/
https://reviews.llvm.org/D89158
More information about the cfe-commits
mailing list