]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add generic optimization patterns for late-expanded calls.
authorDavid Chase <drchase@google.com>
Thu, 13 Aug 2020 03:47:57 +0000 (23:47 -0400)
committerDavid Chase <drchase@google.com>
Mon, 12 Oct 2020 22:39:53 +0000 (22:39 +0000)
commit7bda6154caa6f0c527f4a8302e38d450b44ae68b
tree146a41dce40f3295d0d150dc7bc57134bac87200
parent6c0135d3772e710328c751fbc704927931f129ca
cmd/compile: add generic optimization patterns for late-expanded calls.

Repeats existing patterns for old calls, so that these will apply
during the optimization phases that precede call expansion.

Change-Id: I1ca0a78c159aa1a51004db217edde4ecc772b646
Reviewed-on: https://go-review.googlesource.com/c/go/+/248190
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/rewrite.go
src/cmd/compile/internal/ssa/rewritegeneric.go