Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/compile: suboptimal code generated for simple integer comparison if-block #33012
What version of Go are you using (
This one is a bit tricky. Sort of the luck of the draw, the
At least, I think that is what is going on.
I don't see any easy fix for this. If we knew that both
Maybe there's a way to detect that we would need undo register moves, and lay things out a bit differently as a result. Not sure.
In any case, it is unlikely that this will be fixed for 1.14. Moving to unplanned.