]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: improve testing of induction variables
authorGiovanni Bajo <rasky@develer.com>
Mon, 2 Apr 2018 01:17:18 +0000 (03:17 +0200)
committerGiovanni Bajo <rasky@develer.com>
Sun, 29 Apr 2018 09:38:09 +0000 (09:38 +0000)
commit980fdb8dd5fe0151a9b7e84ec6b8c20a11727521
tree5823ed517bf407ba67c8a501c59430e8d4a14706
parentf49369b67ce8858f5f7ac4e41580e62a289d73df
cmd/compile: improve testing of induction variables

Test both minimum and maximum bound, and prepare
formatting for more advanced tests (inclusive / esclusive bounds).

Change-Id: Ibe432916d9c938343bc07943798bc9709ad71845
Reviewed-on: https://go-review.googlesource.com/104040
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ssa/loopbce.go
test/loopbce.go
test/prove.go