]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: mark opPPC64ADDZE as having a flag input
authorPaul E. Murphy <murp@ibm.com>
Thu, 21 Mar 2024 21:00:17 +0000 (16:00 -0500)
committerPaul Murphy <murp@ibm.com>
Mon, 8 Apr 2024 15:53:17 +0000 (15:53 +0000)
This was missed in CL 571055.

Change-Id: I58d6469c9ea323943e9c230a54fba8f7ec705d47
Reviewed-on: https://go-review.googlesource.com/c/go/+/573515
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

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

index fb38f40d63ab11507e2d52540bed5b274e7825a6..4093a380c93f2cd5674bfb249ffd240401a6e478 100644 (file)
@@ -562,7 +562,7 @@ func (v *Value) hasFlagInput() bool {
        // PPC64 carry dependencies are conveyed through their final argument,
        // so we treat those operations as taking flags as well.
        switch v.Op {
-       case OpPPC64SUBE, OpPPC64ADDE, OpPPC64SUBZEzero, OpPPC64ADDZEzero:
+       case OpPPC64SUBE, OpPPC64ADDE, OpPPC64SUBZEzero, OpPPC64ADDZE, OpPPC64ADDZEzero:
                return true
        }
        return false