/ go Public
cmd/compile: inefficient assembly code on arm64 #43357
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
Compile this code with:
go build -gcflags -S lomuto.go
What did you expect to see?
with clang -O3 -S
I see a tight inner loop between LBB0_2 and LBB0_5 with very minimal instructions
What did you see instead?
I see excessive register usage and many more instructions between address 64 and 124
The text was updated successfully, but these errors were encountered: