]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: constant fold more of IsInBounds and IsSliceInBounds
authorAlexandru Moșoi <mosoi@google.com>
Wed, 9 Mar 2016 10:00:58 +0000 (11:00 +0100)
committerAlexandru Moșoi <alexandru@mosoi.ro>
Wed, 9 Mar 2016 18:05:28 +0000 (18:05 +0000)
commitbbd3ffbd838a2e172bff7b95a8df7f9e55b35786
treeb363f4435d482fcc6bd5321b45436ffdbb09dab0
parentb594b8b0396647cabdda719d20888b1476d5d2c2
cmd/compile: constant fold more of IsInBounds and IsSliceInBounds

Fixes #14721

Change-Id: Id1d5a819e5c242b91a37c4e464ed3f00c691aff5
Reviewed-on: https://go-review.googlesource.com/20482
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/generic.rules
src/cmd/compile/internal/ssa/rewritegeneric.go