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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to