]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add ellipsis syntax for op-only rewrite rules
authorJosh Bleecher Snyder <josharian@gmail.com>
Wed, 8 Jan 2020 01:18:33 +0000 (17:18 -0800)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 20 Feb 2020 22:34:08 +0000 (22:34 +0000)
commit8484d409ac8c4cf9d6c159d9bfbd1d00d908a66d
treea591697b7e598cd6488572061fc56f13313366f4
parent0f7088ade502250a65402efde32c31f9c57f457b
cmd/compile: add ellipsis syntax for op-only rewrite rules

This change introduces a new syntax for rewrite rules
that only change a Value's Op. See #36380 for more discussion.

Updating rewrite rules to use ellipses will happen
in follow-up CLs.

Change-Id: I8c56e85de24607579d79729575c89ca80805ba5c
Reviewed-on: https://go-review.googlesource.com/c/go/+/213898
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/rulegen.go