]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ppc64: remove unused condOps map
authorDave Cheney <dave@cheney.net>
Wed, 19 Apr 2017 01:35:13 +0000 (11:35 +1000)
committerDave Cheney <dave@cheney.net>
Wed, 19 Apr 2017 04:21:46 +0000 (04:21 +0000)
The last use of condOps was removed in c644a76.

Change-Id: I5383d0e7a9078fc17ca12ed032ecf8e7f4aa95d7
Reviewed-on: https://go-review.googlesource.com/41030
Run-TryBot: Dave Cheney <dave@cheney.net>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ppc64/ssa.go

index 041ff3abede643a59fab83a01bb2c0ea2b83c320..c2b561c49f07f5f99554127827680ba1fc78bcab 100644 (file)
@@ -12,20 +12,6 @@ import (
        "math"
 )
 
-var condOps = map[ssa.Op]obj.As{
-       ssa.OpPPC64Equal:        ppc64.ABEQ,
-       ssa.OpPPC64NotEqual:     ppc64.ABNE,
-       ssa.OpPPC64LessThan:     ppc64.ABLT,
-       ssa.OpPPC64GreaterEqual: ppc64.ABGE,
-       ssa.OpPPC64GreaterThan:  ppc64.ABGT,
-       ssa.OpPPC64LessEqual:    ppc64.ABLE,
-
-       ssa.OpPPC64FLessThan:     ppc64.ABLT, // 1 branch for FCMP
-       ssa.OpPPC64FGreaterThan:  ppc64.ABGT, // 1 branch for FCMP
-       ssa.OpPPC64FLessEqual:    ppc64.ABLT, // 2 branches for FCMP <=, second is BEQ
-       ssa.OpPPC64FGreaterEqual: ppc64.ABGT, // 2 branches for FCMP >=, second is BEQ
-}
-
 // iselOp encodes mapping of comparison operations onto ISEL operands
 type iselOp struct {
        cond        int64