From 475f02cbec3da0a192a20ade170fb7e71542a552 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Wed, 19 Apr 2017 11:35:13 +1000 Subject: [PATCH] cmd/compile/internal/ppc64: remove unused condOps map The last use of condOps was removed in c644a76. Change-Id: I5383d0e7a9078fc17ca12ed032ecf8e7f4aa95d7 Reviewed-on: https://go-review.googlesource.com/41030 Run-TryBot: Dave Cheney TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- src/cmd/compile/internal/ppc64/ssa.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/cmd/compile/internal/ppc64/ssa.go b/src/cmd/compile/internal/ppc64/ssa.go index 041ff3abede643..c2b561c49f07f5 100644 --- a/src/cmd/compile/internal/ppc64/ssa.go +++ b/src/cmd/compile/internal/ppc64/ssa.go @@ -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