Join GitHub today
GitHub is home to over 28 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 it 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.