cmd/compile: unneeded panicshift for bounded shift amount #42179
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
Tested on 1.15.3 and tip.
Foo contains an unnecessary
panicshift
call, whereas Bar does not:godbolt link: https://godbolt.org/z/qhTqYM
The text was updated successfully, but these errors were encountered: