[PATCH] D89158: [NewPM] Run all EP callbacks under -O0
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 09:12:32 PDT 2020
aeubanks added inline comments.
================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1439
if (CodeGenOpts.OptimizationLevel == 0) {
+ PB.runRegisteredEPCallbacks(MPM, Level, CodeGenOpts.DebugPassManager);
+
----------------
nikic wrote:
> 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?
Yup, I have that ready to go after this :)
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