]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: regenerate rewrite rules
authorMichael Munday <mike.munday@ibm.com>
Thu, 26 Apr 2018 17:48:19 +0000 (18:48 +0100)
committerMichael Munday <mike.munday@ibm.com>
Thu, 26 Apr 2018 18:06:33 +0000 (18:06 +0000)
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 <mike.munday@ibm.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/compile/internal/ssa/rewritePPC64.go

index 8610f08e7f34cf149463c217f65ef6ce88c7d39f..19329b83388b45254070978bd95ab767b4fa162b 100644 (file)
@@ -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)