]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: indexed loads/stores can't be faultOnNilArg0
authorKeith Randall <khr@golang.org>
Fri, 20 Mar 2020 16:59:53 +0000 (09:59 -0700)
committerKeith Randall <khr@golang.org>
Sat, 21 Mar 2020 02:46:16 +0000 (02:46 +0000)
commit287d67e3dd3972b1d1006b06e0d57929540a1591
tree41370522ce628db8fd817a30d284ca9d4674d600
parent5bc75a3097a3671055f0f9c503850edbe830601d
cmd/compile: indexed loads/stores can't be faultOnNilArg0

Because of the index, these ops can't guarantee faulting if arg0 is nil.

Clean up the PPC64 index ops - they can't take a sym or an offset.

Noticed while debugging #37881. I don't think it is the cause, but I guess
there is a chance.
Update #37881

Change-Id: Ic22925250bf7b1ba64e3cea1a65638bc4bab390c
Reviewed-on: https://go-review.googlesource.com/c/go/+/224457
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ppc64/ssa.go
src/cmd/compile/internal/ssa/gen/386Ops.go
src/cmd/compile/internal/ssa/gen/PPC64.rules
src/cmd/compile/internal/ssa/gen/PPC64Ops.go
src/cmd/compile/internal/ssa/opGen.go
src/cmd/compile/internal/ssa/rewritePPC64.go