HomePhabricator

[cmake] Add an option to build llvm with IR PGO

Authored by vsk on Sep 20 2017, 10:16 AM.

Description

[cmake] Add an option to build llvm with IR PGO

This adds an LLVM_ENABLE_IR_PGO option to enable building llvm and its
tools with IR PGO instrumentation.

Usage: -DLLVM_BUILD_INSTRUMENTED=On -DLLVM_ENABLE_IR_PGO=On (both
options must be enabled)

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

llvm-svn: 313770

Details

Committed
vskSep 20 2017, 10:16 AM
Differential Revision
D38066: [cmake] Add an option to build llvm with IR PGO
Parents
rG0b7cb326a1c5: [cmake] Unmark LLVM_BUILD_INSTRUMENTED_COVERAGE as experimental
Branches
Unknown
Tags
Unknown