]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add constant fold comparison tests
authorKeith Randall <khr@golang.org>
Sun, 29 May 2016 04:59:17 +0000 (21:59 -0700)
committerKeith Randall <khr@golang.org>
Sun, 29 May 2016 20:23:55 +0000 (20:23 +0000)
commit79f7ccf2c3931745aeb97c5c985b6ac7b44befb4
treeb284ddae6359aa651442147c3e080f90f4c12828
parentb859a78e0a71d769274dac8cf0108bdf41ec55a5
cmd/compile: add constant fold comparison tests

Increases generic.rules coverage from 91% to 95%.

Change-Id: I981eb94f3cd10d2f87c836576a43786787a25d83
Reviewed-on: https://go-review.googlesource.com/23556
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Todd Neal <todd@tneal.org>
src/cmd/compile/internal/gc/constFold_test.go
src/cmd/compile/internal/gc/testdata/gen/constFoldGen.go