llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-codegen Author: Alexis Engelke (aengelke) <details> <summary>Changes</summary> By default, we shouldn't add expensive verifier passes to the pipeline. This causes a substantial perf regression compared to the legacy PM. --- Full diff: https://github.com/llvm/llvm-project/pull/208178.diff 1 Files Affected: - (modified) clang/lib/CodeGen/BackendUtil.cpp (+1) ``````````diff diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index e33480f6c6416..f33026426e815 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -1301,6 +1301,7 @@ void EmitAssemblyHelper::RunCodegenPipelineNewPM( CGSCCAnalysisManager CGAM; ModuleAnalysisManager MAM; CGPassBuilderOption Opt = getCGPassBuilderOption(); + Opt.DisableVerify = !CodeGenOpts.VerifyModule; MachineModuleInfo MMI(TM.get()); PassInstrumentationCallbacks PIC; PipelineTuningOptions PTOptions; `````````` </details> https://github.com/llvm/llvm-project/pull/208178 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
