[PATCH] D96119: [Codegenprepare][X86] Use usub with overflow opt for IV increment
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 9 04:33:33 PST 2021
mkazantsev planned changes to this revision.
mkazantsev added a comment.
> I'd suggest tweaking this patch to add the hasOneUse check on the phi. With that change, I'd also LGTM this.
It won't pass a motivating test. Effectively, it doesn't really create a intersection of ranges of `IV` and `IV.next`, even if formally it does. In fact, comparison itself is the point where we compute something equivalent to `IV.next`. I'll write an elaborate comment explaining this.
Our internal testing has found a functional bug with this patch. I'm putting this on hold while investigating.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96119/new/
https://reviews.llvm.org/D96119
More information about the llvm-commits
mailing list