go/test/fixedbugs
Matthew Dempsky 79d4defa75 cmd/compile/internal/ssagen: fix min/max codegen, again
The large-function phi placement algorithm evidently doesn't like the
same pseudo-variable being used to represent expressions of varying
types.

Instead, use the same tactic as used for "valVar" (ssa.go:6585--6587),
which is to just generate a fresh marker node each time.

Maybe we could just use the OMIN/OMAX nodes themselves as the key
(like we do for OANDAND/OOROR), but that just seems needlessly risky
for negligible memory savings. Using fresh marker values each time
seems obviously safe by comparison.

Fixes #61041.

Change-Id: Ie2600c9c37b599c2e26ae01f5f8a433025d7fd08
Reviewed-on: https://go-review.googlesource.com/c/go/+/506679
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
2023-06-28 16:07:47 +00:00
..
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2023-03-28 18:13:13 +00:00
2022-05-18 00:47:29 +00:00
2023-03-28 18:13:13 +00:00
2023-04-11 20:56:32 +00:00
2018-10-18 04:57:41 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2017-09-19 18:08:50 +00:00
2023-04-11 20:56:32 +00:00
2017-09-15 02:39:16 +00:00
2023-04-11 20:56:32 +00:00
2021-02-22 22:53:51 +00:00
2017-05-18 21:33:05 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2021-04-21 20:24:34 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2017-09-08 20:10:48 +00:00
2017-09-08 20:10:48 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2022-03-09 21:31:58 +00:00
2019-04-24 19:55:13 +00:00
2019-07-18 11:34:23 +00:00
2019-07-18 17:24:59 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2023-04-11 20:56:32 +00:00
2021-02-22 20:00:00 +00:00
2020-10-30 19:30:44 +00:00
2020-11-21 16:46:05 +00:00
2023-04-11 20:56:32 +00:00
2021-05-22 00:51:17 +00:00
2023-04-11 20:56:32 +00:00
2023-02-07 20:59:40 +00:00