]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: regenerate rewrite rules
authorJosh Bleecher Snyder <josharian@gmail.com>
Thu, 21 Mar 2019 16:16:56 +0000 (09:16 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Thu, 21 Mar 2019 17:04:11 +0000 (17:04 +0000)
Change-Id: I7e921b7b4665ff76dc8bae493b2a49318690770b
Reviewed-on: https://go-review.googlesource.com/c/go/+/168637
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Munday <mike.munday@ibm.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ssa/rewrite386.go
src/cmd/compile/internal/ssa/rewrite386splitload.go
src/cmd/compile/internal/ssa/rewriteAMD64.go
src/cmd/compile/internal/ssa/rewriteAMD64splitload.go
src/cmd/compile/internal/ssa/rewriteARM.go
src/cmd/compile/internal/ssa/rewriteARM64.go
src/cmd/compile/internal/ssa/rewriteMIPS.go
src/cmd/compile/internal/ssa/rewriteMIPS64.go
src/cmd/compile/internal/ssa/rewritePPC64.go
src/cmd/compile/internal/ssa/rewriteS390X.go

index bb59feab0bb1a004f73c8f120e415601423a4774..aae0c593004a45abcfed6a0fd6e63bf1eeb7d401 100644 (file)
@@ -22907,10 +22907,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -22926,10 +22925,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -22945,10 +22943,9 @@ func rewriteValue386_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
@@ -22967,11 +22964,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendA [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -22988,11 +22984,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendB [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -23009,11 +23004,10 @@ func rewriteValue386_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendC [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 2) {
                        break
                }
index 96f8cf587ad16b4013750257bbe5809b0cabae94..31ed4d0a4137271addfbe3b7b1e2ba98bcdd9a61 100644 (file)
@@ -34,18 +34,15 @@ func rewriteValue386splitload(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPBconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPBconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(Op386CMPBconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
@@ -59,19 +56,16 @@ func rewriteValue386splitload_Op386CMPBconstload_0(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPBload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPBload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPB (MOVBload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(Op386CMPB)
                v0 := b.NewValue0(v.Pos, Op386MOVBload, typ.UInt8)
                v0.AuxInt = off
@@ -85,18 +79,15 @@ func rewriteValue386splitload_Op386CMPBload_0(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPLconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPLconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(Op386CMPLconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
@@ -110,19 +101,16 @@ func rewriteValue386splitload_Op386CMPLconstload_0(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPLload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPLload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPL (MOVLload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(Op386CMPL)
                v0 := b.NewValue0(v.Pos, Op386MOVLload, typ.UInt32)
                v0.AuxInt = off
@@ -136,18 +124,15 @@ func rewriteValue386splitload_Op386CMPLload_0(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPWconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPWconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(Op386CMPWconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16)
@@ -161,19 +146,16 @@ func rewriteValue386splitload_Op386CMPWconstload_0(v *Value) bool {
 }
 func rewriteValue386splitload_Op386CMPWload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPWload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPW (MOVWload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(Op386CMPW)
                v0 := b.NewValue0(v.Pos, Op386MOVWload, typ.UInt16)
                v0.AuxInt = off
index 708ab9df0564c978c2d1f7705df0b0e853063010..c377e2817035758e030489b6ca9f32bdeee85b0c 100644 (file)
@@ -61719,10 +61719,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -61738,10 +61737,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -61757,10 +61755,9 @@ func rewriteValueAMD64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
@@ -61779,11 +61776,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendA [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -61800,11 +61796,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendB [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -61821,11 +61816,10 @@ func rewriteValueAMD64_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendC [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 2) {
                        break
                }
index af7067b7549a0853c676b61c0bc237cb7c739df3..dbd0e031a4b328bc318e2cf31d462e144a391afe 100644 (file)
@@ -38,18 +38,15 @@ func rewriteValueAMD64splitload(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPBconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPBconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPBconst (MOVBload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(OpAMD64CMPBconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
@@ -63,19 +60,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPBconstload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPBload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPBload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPB (MOVBload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(OpAMD64CMPB)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVBload, typ.UInt8)
                v0.AuxInt = off
@@ -89,18 +83,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPBload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPLconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPLconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPLconst (MOVLload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(OpAMD64CMPLconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32)
@@ -114,19 +105,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPLconstload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPLload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPLload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPL (MOVLload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(OpAMD64CMPL)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVLload, typ.UInt32)
                v0.AuxInt = off
@@ -140,18 +128,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPLload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPQconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPQconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPQconst (MOVQload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(OpAMD64CMPQconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64)
@@ -165,19 +150,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPQconstload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPQload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPQload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPQ (MOVQload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(OpAMD64CMPQ)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVQload, typ.UInt64)
                v0.AuxInt = off
@@ -191,18 +173,15 @@ func rewriteValueAMD64splitload_OpAMD64CMPQload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPWconstload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPWconstload {sym} [vo] ptr mem)
        // cond:
        // result: (CMPWconst (MOVWload {sym} [offOnly(vo)] ptr mem) [valOnly(vo)])
        for {
                vo := v.AuxInt
                sym := v.Aux
-               _ = v.Args[1]
-               ptr := v.Args[0]
                mem := v.Args[1]
+               ptr := v.Args[0]
                v.reset(OpAMD64CMPWconst)
                v.AuxInt = valOnly(vo)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16)
@@ -216,19 +195,16 @@ func rewriteValueAMD64splitload_OpAMD64CMPWconstload_0(v *Value) bool {
 }
 func rewriteValueAMD64splitload_OpAMD64CMPWload_0(v *Value) bool {
        b := v.Block
-       _ = b
        typ := &b.Func.Config.Types
-       _ = typ
        // match: (CMPWload {sym} [off] ptr x mem)
        // cond:
        // result: (CMPW (MOVWload {sym} [off] ptr mem) x)
        for {
                off := v.AuxInt
                sym := v.Aux
-               = v.Args[2]
+               mem := v.Args[2]
                ptr := v.Args[0]
                x := v.Args[1]
-               mem := v.Args[2]
                v.reset(OpAMD64CMPW)
                v0 := b.NewValue0(v.Pos, OpAMD64MOVWload, typ.UInt16)
                v0.AuxInt = off
index 11c1bde8d156000fb8605d22592dd80f1488e244..9d3dbd88f82115c78b28c698b16dff0a2ace7e2e 100644 (file)
@@ -20085,10 +20085,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -20104,10 +20103,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -20123,10 +20121,9 @@ func rewriteValueARM_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
@@ -20145,11 +20142,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendA [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -20166,11 +20162,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendB [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -20187,11 +20182,10 @@ func rewriteValueARM_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendC [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 2) {
                        break
                }
index 7cc85b66cd60a642f7b08a1a7137dd76fae21e83..e54eeb1eb18514e6d5f4ebb10b2ecdc37ae0d230 100644 (file)
@@ -35685,10 +35685,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -35704,10 +35703,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -35723,10 +35721,9 @@ func rewriteValueARM64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
index d506d77ae3ab549d2ece7e3a3e20057ab5ee1120..4c11640616e985fa36ad5d8dccd285790013db2a 100644 (file)
@@ -6985,10 +6985,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -7004,10 +7003,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -7023,10 +7021,9 @@ func rewriteValueMIPS_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
@@ -7045,11 +7042,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendA [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -7066,11 +7062,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendB [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -7087,11 +7082,10 @@ func rewriteValueMIPS_OpPanicExtend_0(v *Value) bool {
        // result: (LoweredPanicExtendC [kind] hi lo y mem)
        for {
                kind := v.AuxInt
-               = v.Args[3]
+               mem := v.Args[3]
                hi := v.Args[0]
                lo := v.Args[1]
                y := v.Args[2]
-               mem := v.Args[3]
                if !(boundsABI(kind) == 2) {
                        break
                }
index ca93e04c2ca6032ae4db494efedf0748e35ba35e..d9efa99261a9f2d85d55dce650cd4ef21791d001 100644 (file)
@@ -7420,10 +7420,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -7439,10 +7438,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -7458,10 +7456,9 @@ func rewriteValueMIPS64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
index 012e5c768068f51dbaa734c5ef6aeb26d940c552..4c25c39707228e541974a2b703fa0182aae57c5f 100644 (file)
@@ -26110,10 +26110,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -26129,10 +26128,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -26148,10 +26146,9 @@ func rewriteValuePPC64_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }
index ddf648ded7b95209f6b08b56707c8abad9cc8072..78fa5c5c96051fdda8d33124632b1b76c99d2b08 100644 (file)
@@ -4973,10 +4973,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsA [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 0) {
                        break
                }
@@ -4992,10 +4991,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsB [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 1) {
                        break
                }
@@ -5011,10 +5009,9 @@ func rewriteValueS390X_OpPanicBounds_0(v *Value) bool {
        // result: (LoweredPanicBoundsC [kind] x y mem)
        for {
                kind := v.AuxInt
-               = v.Args[2]
+               mem := v.Args[2]
                x := v.Args[0]
                y := v.Args[1]
-               mem := v.Args[2]
                if !(boundsABI(kind) == 2) {
                        break
                }