[PATCH] D32143: [InstSimplify] use ConstantRange to simplify more and-of-icmps

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 16:24:32 PDT 2017


spatel added a comment.

This should reduce the chance of finding the optimization gap:
https://reviews.llvm.org/rL303312

Related clean-up commits ahead of that:
https://reviews.llvm.org/rL303295
https://reviews.llvm.org/rL303309
https://reviews.llvm.org/rL303310

We might want to treat an xor-of-icmps as an or-of-and-of-icmps to really fix this....or we just handle xor-of-icmps directly. There was a patch:
https://reviews.llvm.org/rL289813
...that might have gotten this case, but it got reverted:
https://reviews.llvm.org/rL290266


Repository:
  rL LLVM

https://reviews.llvm.org/D32143





More information about the llvm-commits mailing list