anton-afanasyev marked 2 inline comments as done. anton-afanasyev added inline comments.
================ Comment at: cfe/trunk/lib/CodeGen/BackendUtil.cpp:1426-1431 EmitAssemblyHelper AsmHelper(Diags, HeaderOpts, CGOpts, TOpts, LOpts, M); if (CGOpts.ExperimentalNewPassManager) AsmHelper.EmitAssemblyWithNewPassManager(Action, std::move(OS)); else AsmHelper.EmitAssembly(Action, std::move(OS)); ---------------- anton-afanasyev wrote: > lebedev.ri wrote: > > This isn't covered by any timer; if you look in `BackendUtil.cpp`, > > `EmitAssemblyHelper` actually has `CodeGenerationTime("codegen", "Code > > Generation Time")` timer. > Thanks, I'm to add it. Hmm, I've figured out this isn't needed: such new timer mostly coincides with "Backend" timer (above). Legacy `Timer CodeGenerationTime(...)` is bad example of doing right timing. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58675/new/ https://reviews.llvm.org/D58675 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits