Merge "Turn on new pass manager for PGO projects"

This commit is contained in:
Yi Kong
2019-03-27 22:44:31 +00:00
committed by Gerrit Code Review

View File

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