HomePhabricator

[PGO] Supporting code for always instrumenting entry block

Authored by xur on Jul 22 2020, 2:58 PM.

Description

[PGO] Supporting code for always instrumenting entry block

This patch includes the supporting code that enables always
instrumenting the function entry block by default.

This patch will NOT the default behavior.

It adds a variant bit in the profile version, adds new directives in
text profile format, and changes llvm-profdata tool accordingly.

This patch is a split of D83024 (https://reviews.llvm.org/D83024)
Many test changes from D83024 are also included.

Differential Revision: https://reviews.llvm.org/D84261

Details

Committed
xurJul 22 2020, 3:01 PM
Differential Revision
D84261: [PGO] Supporting code for always instrumenting entry block
Parents
rGe0ee22884249: [clang][test] Fix test for external assemblers
Branches
Unknown
Tags
Unknown