Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: prove/BCE don't seem affected by hints that signed integers are not negative #28956
If we make the index an unsigned integer instead of using the
I haven't found this in real code, but I tried this hint while trying to remove a bounds check from real code. I was surprised to see that BCE would still not do its thing with the hint. Seems to me like this should be a simple fix somewhere in the prove or BCE passes.
referenced this issue
Nov 26, 2018
@blobdon is looking into this issue, and he believes that this case is simpler than some of the cases listed in #28885; for now, I'm reopening this issue for him to experiment with the simple case.
Edit: it appears I can't assign issues to people ooutside the golang organisation.