[PATCH] D109175: [openmp] Add clang cc1 option -fopenmp-skip-deferred-diags

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 2 11:40:43 PDT 2021


lebedev.ri added a comment.

In D109175#2980333 <https://reviews.llvm.org/D109175#2980333>, @weiwang wrote:

> Our internal codebase never uses the target directive. Once the deferred diags is bypassed, we observed 18% e2e build time improvement.

Is that with `-fopenmp` or without?
That seems, kinda a lot more than i would have expected,
perhaps there are some other ways to reduce the overhead other than this approach?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109175/new/

https://reviews.llvm.org/D109175



More information about the cfe-commits mailing list