1
0
mirror of https://github.com/golang/go synced 2024-11-15 04:30:32 -07:00

cmd/compile/internal/ssa: mark opPPC64ADDZE as having a flag input

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>
This commit is contained in:
Paul E. Murphy 2024-03-21 16:00:17 -05:00 committed by Paul Murphy
parent ae0a08dee9
commit da732dd1c0

View File

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