From adbb6ec903fc135dac2c7a141fa13273d414acaf Mon Sep 17 00:00:00 2001 From: Michael Munday Date: Thu, 26 Apr 2018 18:48:19 +0100 Subject: [PATCH] cmd/compile/internal/ssa: regenerate rewrite rules Running 'go run *.go' in the gen directory resulted in this diff. Change-Id: Iee398a720f54d3f2c3c122fc6fc45a708a39e45e Reviewed-on: https://go-review.googlesource.com/109575 Run-TryBot: Michael Munday Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- src/cmd/compile/internal/ssa/rewritePPC64.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/cmd/compile/internal/ssa/rewritePPC64.go b/src/cmd/compile/internal/ssa/rewritePPC64.go index 8610f08e7f..19329b8338 100644 --- a/src/cmd/compile/internal/ssa/rewritePPC64.go +++ b/src/cmd/compile/internal/ssa/rewritePPC64.go @@ -13472,10 +13472,12 @@ func rewriteValuePPC64_OpRound_0(v *Value) bool { // match: (Round x) // cond: // result: (FROUND x) - x := v.Args[0] - v.reset(OpPPC64FROUND) - v.AddArg(x) - return true + for { + x := v.Args[0] + v.reset(OpPPC64FROUND) + v.AddArg(x) + return true + } } func rewriteValuePPC64_OpRound32F_0(v *Value) bool { // match: (Round32F x) -- 2.50.0