]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: adopt strong aux typing for some s390x rules
authorRuixin Bao <ruixin.bao@ibm.com>
Mon, 27 Apr 2020 23:20:45 +0000 (16:20 -0700)
committerMichael Munday <mike.munday@ibm.com>
Tue, 28 Apr 2020 07:36:20 +0000 (07:36 +0000)
commitf639a81cd5e85ca9538c76e612867aa4c2ae241b
treea999170d97d7f1ca3a729dc11bebdda19217b89f
parentac211c037d7a39a0723420a4937205008e8ae86e
cmd/compile: adopt strong aux typing for some s390x rules

Convert some optimizations rules to strongly-typed versions. So far, I
have only converted the rules that need no additional changes (i.e: only
need to change '->' to "=>").

This CL covers the rules from line 478 - line 800 in S390X.rules file.
Some compare and branch rules also fall in this range, but they were
already done previously in another CL.

Passes toolstash-check.
Change-Id: I9167c5f1a32f4fd6c29bacc13fff95e83b0533e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/230338
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Run-TryBot: Michael Munday <mike.munday@ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/rewriteS390X.go