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
cmd/compile: optimize LEAQ address calculations #37736
What version of Go are you using?
go version go1.13.1 windows/amd64
What did you do?
What did you expect to see?
What did you see instead?
I'm not sure whether merging these two instructions would make a large difference, I just expect the optimizer to know the instruction set well enough to make this optimization.