Hacker News new | ask | show | jobs
by peterfirefly 21 days ago
You can sometimes just add asserts for the index variable(s) and have the LLVM optimizer go "hmm, I should try to prove that those are true" and then get the range checks optimized away.