OSDN Git Service

Add test coverage for new PM PGOOpt handling.
authorDehao Chen <dehao@google.com>
Wed, 26 Jul 2017 02:00:43 +0000 (02:00 +0000)
committerDehao Chen <dehao@google.com>
Wed, 26 Jul 2017 02:00:43 +0000 (02:00 +0000)
commitc87493d497ea855791098e3470d5c15d55dd1603
treeccbc0d080cf08882c72d3aac9d6eee2a5af4a234
parentf34b3b16e3f0f70db4a698f0538f15bb093f7362
Add test coverage for new PM PGOOpt handling.

Summary: This patch adds flags and tests to cover the PGOOpt handling logic in new PM.

Reviewers: chandlerc, davide

Reviewed By: chandlerc

Subscribers: sanjoy, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309076 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Passes/PassBuilder.h
test/Other/Inputs/new-pm-pgo.prof [new file with mode: 0644]
test/Other/Inputs/new-pm-pgo.proftext [new file with mode: 0644]
test/Other/new-pm-pgo.ll [new file with mode: 0644]
tools/opt/NewPMDriver.cpp