]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: fold extensions into constants on s390x
authorMichael Munday <munday@ca.ibm.com>
Thu, 6 Oct 2016 17:49:57 +0000 (13:49 -0400)
committerMichael Munday <munday@ca.ibm.com>
Thu, 6 Oct 2016 18:57:43 +0000 (18:57 +0000)
commit122abe6b122a885c52a53044eedbd3b6905b6124
tree9b7a996e5f143170c361713a4db3c56dc97b82ca
parentb4f3c9339e77e70cbd5b81ef7f2a4dec557d40de
cmd/compile: fold extensions into constants on s390x

We insert extensions when lowering comparisons and they were
blocking constant folding.

Change-Id: I804bbf91c7606612ffe921a90853844a57e55955
Reviewed-on: https://go-review.googlesource.com/30541
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/rewriteS390X.go