@dr2chase requested issue #65808 to be considered for backport to the next 1.22 minor release.
@gopherbot please consider this for backport to 1.22; it is likely a regression from the expand_calls cleanup.
I tested the backport already, the fix is targeted, low risk, and applies clean.
Comment From: dr2chase
This IS a regression from 1.21, and does not need to be backported to 1.21 also.
Comment From: gopherbot
Change https://go.dev/cl/601195 mentions this issue: [release-branch.go1.22] cmd/compile: add 0-sized-value simplification to copyelim
Comment From: gopherbot
Closed by merging CL 601195 (commit 8c8adffd5301b5e40a8c39e92030c53c856fb1a6) to release-branch.go1.22
.