HomePhabricator

[PGO] IRPGO pre-cleanup pass changes

Authored by xur on Jul 15 2016, 11:10 AM.

Description

[PGO] IRPGO pre-cleanup pass changes

This patch adds a selected set of cleanup passes including a pre-inline pass
before LLVM IR PGO instrumentation. The inline is only intended to apply those
obvious/trivial ones before instrumentation so that much less instrumentation
is needed to get better profiling information. This will drastically improve
the instrumented code performance for large C++ applications. Another benefit
is the context sensitive counts that can potentially improve the PGO
optimization.

Differential Revision: http://reviews.llvm.org/D21405

llvm-svn: 275588

Details

Committed
xurJul 15 2016, 11:10 AM
Differential Revision
D21405: [PGO] IRPGO pre-cleanup pass changes
Parents
rG32f900730c2a: fix documentation comments; NFC
Branches
Unknown
Tags
Unknown