[PATCH] D65765: [InstCombine] Non-canonical clamp-like pattern handling

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 14:16:12 PDT 2019


spatel added a comment.

In D65765#1625870 <https://reviews.llvm.org/D65765#1625870>, @lebedev.ri wrote:

> Thanks for taking a look.
>
> I'm not sure how to test `uge`/`sge` predicates - i can't come up with any pattern that still contains them after `-instcombine`.
>  https://godbolt.org/z/7EAcfy
>  I'm not sure if that is guaranteed (and thus i should just drop that handling), or i'm simply failing at test-case production.


Non-splat vector constant + multiple-uses? :)
https://godbolt.org/z/6vuO14


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65765





More information about the llvm-commits mailing list