Currently, the check for enablesValueProfiling only considers if it was
specifically added, or is enabled by default under IR profiling. However, we
allow value profiling to be disabled through the DisableValueProfiling flag,
but do not account for this path in InstrProfiling. This change exposes that
flag from PGOInstrumentation.cpp, and uses it as part of its check for whether
value profiling is enabled.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo