[PATCH] D67332: [InstSimplify] simplifyUnsignedRangeCheck(): if we know that X != 0, handle more cases (PR43246)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 8 12:55:23 PDT 2019


lebedev.ri added a comment.

In D67332#1662486 <https://reviews.llvm.org/D67332#1662486>, @spatel wrote:

> Sorry - I just looked over the comments in:
>  https://bugs.llvm.org/show_bug.cgi?id=43246
>
> Does this allow removing a more specific (offset is constant) blob of code from instcombine?


Can you please point me to it?
I suspect we get it via multiple folds that happen because
those instructions have no extra uses and constant on RHS.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67332/new/

https://reviews.llvm.org/D67332





More information about the llvm-commits mailing list