From: Michael Munday Date: Thu, 26 Apr 2018 17:48:19 +0000 (+0100) Subject: cmd/compile/internal/ssa: regenerate rewrite rules X-Git-Tag: go1.11beta1~661 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=adbb6ec903fc135dac2c7a141fa13273d414acaf;p=gostls13.git 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 --- 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)