llvm-project/llvm/include
Rong Xu 21abe21280 [TableGen][PGO] Disable profile instrumentation for printInstruction function
We are seeing extremely long time in building AMDGPUInstPrinter.cpp
when profile instrumentation is enabled: It takes more than 5 minutes
(compared to ~8 seconds in non-instrument build).

This caused by the huge statements in printInstruction functions. In
profile instrumentation build, we need have extra control flow to
differentiate each case statement. This in turn adds significant
compile time in block placement and branch folding.

Function printInstruction is not likely to benefit from PGO build
as it's rarely executed in a typical compilation. So here I disable
the profile instrumentation for this function.

Differential Revision: https://reviews.llvm.org/D111682
2021-10-14 13:41:55 -07:00
..
llvm [TableGen][PGO] Disable profile instrumentation for printInstruction function 2021-10-14 13:41:55 -07:00
llvm-c [ORC] Add static and dynamic library generator support to C API. 2021-10-11 09:25:59 -07:00