]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove unnecessary OpSB checks in S390X.rules
authorMichael Munday <munday@ca.ibm.com>
Fri, 30 Sep 2016 16:04:46 +0000 (12:04 -0400)
committerMichael Munday <munday@ca.ibm.com>
Mon, 3 Oct 2016 22:14:52 +0000 (22:14 +0000)
commit7e0218cdb204cec082601988324d54ef484a8f5f
tree3345e9493b93180b3c64046cfb6c799b9cfcba38
parent7aab88a31e4b689374832ebd1a3927bcef6e3f79
cmd/compile: remove unnecessary OpSB checks in S390X.rules

Reversed, indexed and multi-register stores/loads cannot accept SB
inputs. Therefore if one of these Ops is an input to a rule any
pointer that is an argument to that Op cannot be OpSB.

Change-Id: Ib8048362d1c6277122afec0d13a1c905290d69cb
Reviewed-on: https://go-review.googlesource.com/30131
Run-TryBot: Michael Munday <munday@ca.ibm.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/gen/S390X.rules
src/cmd/compile/internal/ssa/rewriteS390X.go