]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reduce rulelog noise
authorJosh Bleecher Snyder <josharian@gmail.com>
Fri, 10 May 2019 23:31:56 +0000 (16:31 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Fri, 10 May 2019 23:47:49 +0000 (23:47 +0000)
commitf61cf6f3138d47e1e72dbd56c12e7d1f3314a813
treeb2bf726c714cbdef3afb3e85c46a32d5b39aeffb
parent309ab1ecc810fad29d09bbf91c22c6bfd1683c6f
cmd/compile: reduce rulelog noise

When the SSA rules are re-generated to log rules,
they write output like:

rewrite AMD64.rules:527
rewrite AMD64.rules:427
rewrite AMD64.rules:494

This is silly; there are no non-rewrite lines in the file.
Furthermore, the rulelog file tends to be gigantic
for any non-trivial compilation (measured in gigabytes).

Remove the "rewrite " prefix.

No impact to normal builds.

Change-Id: I955995c1cc5f27a4a6a3849e19082ecb3e40bd4f
Reviewed-on: https://go-review.googlesource.com/c/go/+/176677
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/rewrite.go