[PATCH] D104431: [lld] Add lto-cspgo-warn-mismatch option for COFF

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 12:06:00 PDT 2021


xur added a comment.

CSPGO can have mismatches -- it's just like PGO that is triggered by a source change, or a compiler change (before the pass). 
Usually if there is a mismatch, PGO use pass will catch it first. There are cases that PGO has no-mismatch while CSPGO has a mismatch, but I consider it extremely rare.

Did you see the same warning in PGO?

As Teresa mentioned, I think the internal option should also work. But I do see the point of setting the argument in Conf to avoid the use of internal option.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104431



More information about the llvm-commits mailing list