]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: regenerate rewrite rules for amd64
authorGiovanni Bajo <rasky@develer.com>
Wed, 21 Feb 2018 10:31:47 +0000 (11:31 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 21 Feb 2018 16:30:47 +0000 (16:30 +0000)
commit8fea862f425df795ea3850e9b8a5ea0800d98a32
tree72d6dc193fde8b8bec5cd510e86a9a973aad0829
parent79fe895112dc3759506e57c519a2b38c41ee71dd
cmd/compile: regenerate rewrite rules for amd64

Sometimes, multiple CLs being merged that create rules on the same
opcodes can cause the generated file to differ compared to a new
regeneration. This is caused by the fact that rulegen splits
generated functions in chunks of 10 rules per function (to avoid
creating functions that are too big). If two CLs add rules to
the same function, they might cause a generated function to
have more than 10 rules, even though each CL individually didn't
pass this limit.

Change-Id: Ib641396b7e9028f80ec8718746969d390a9fbba9
Reviewed-on: https://go-review.googlesource.com/95795
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ssa/rewriteAMD64.go