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 <email@example.com>
TryBot-Result: Gopher Robot <firstname.lastname@example.org>
Run-TryBot: Michael Pratt <email@example.com>
Reviewed-by: Cherry Mui <firstname.lastname@example.org>
1 file changed