sweet: force -pgo=off for non-PGO builds
As of CL 497455, cmd/compile has a default.pgo that is applied
automatically. This means that `sweet run -pgo -run go-build` is
actually going to compare default.pgo vs a new profile, rather than no
pgo vs a new profile, which is what folks will expect.
Thus when not in a PGO build, force PGO off.
Reviewed-by: Michael Knyszek <firstname.lastname@example.org>
TryBot-Result: Gopher Robot <email@example.com>
Run-TryBot: Michael Pratt <firstname.lastname@example.org>
Reviewed-by: Cherry Mui <email@example.com>
1 file changed