cmd/compile: extendslice contains n.SetLikely(false), which does nothing #32486
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
extendslice contains:
nifneg.SetLikely(false)
. But the Likely flag on Node is boolean; setting it to false has no effect at all. To make it do something, we'd need to invert the condition and set it to true. But given that the body contains a panic-style call, I suspect we already do the right thing for likeliness, and we should just delete the call toSetLikely
.This issue is a reminder to investigate and either delete or fix the
SetLikely
call.cc @martisch
The text was updated successfully, but these errors were encountered: