+1 that spills (and moving structures from registers to stack is
essentially spills) should be decided by a specialized pass (register
allocator), not during SSA build. Relying on a heuristic to do
"pre-spilling" is, IMHO, a design flaw.
@Arseny Samoylov, I wonder if you tried to disable this r
понедельник, 2 декабря 2024 г. в 13:25:22 UTC+3, Karolina GORNA:
*switch-go/main.go*--
package main
import "fmt"
func main() {
x := 10
switch x {
case 1:
fmt.Println("One")
case 5:
fmt.Println("Five")
case 10:
Hi Ian,
Thanks for the update!
Do you have any idea on when generics support in gofrontend might be
finished?
(To clarify, I don't want to "push" you at all; understandably, you have a
lot on your plate and have to juggle different priorities. My only point is
to have at least some understand