Merge "Turn on new pass manager for PGO projects"

am: edd7fdd891

Change-Id: Ic7eec8832d1397f741a579121ad8ad73bbf75189
This commit is contained in:
Yi Kong 2019-03-27 15:55:47 -07:00 committed by android-build-merger
commit 2692cfac0d
1 changed files with 5 additions and 2 deletions

View File

@ -27,8 +27,11 @@ import (
var (
// Add flags to ignore warnings that profiles are old or missing for
// some functions
profileUseOtherFlags = []string{"-Wno-backend-plugin"}
// some functions, and turn on the experimental new pass manager.
profileUseOtherFlags = []string{
"-Wno-backend-plugin",
"-fexperimental-new-pass-manager",
}
globalPgoProfileProjects = []string{
"toolchain/pgo-profiles",