cmd/compile: missing BCE optimization cases #64272
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Performance
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
https://github.com/golang/go/blob/go1.21.4/src/slices/slices.go#L346-L385
And
What did you expect to see?
No bound checks.
What did you see instead?
Many bound checks.
This problem might have been reported before, but I couldn't find it now.
The text was updated successfully, but these errors were encountered: