[PATCH] D63670: [InstCombine][NFC] Add test to show missing fold for icmp ult/uge (shl %x, C2), C1.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 15:56:27 PDT 2019


lebedev.ri accepted this revision.
lebedev.ri added a comment.

In D63670#1556548 <https://reviews.llvm.org/D63670#1556548>, @huihuiz wrote:

> Added vector test to check for predicate variance.
>  Canonicalization happens for ule -> ult , uge -> ugt


Right, i forgot to enable instcombine in my godbolt link :)
Well then, i guess we can't have test coverage for that half of the fold :/


Repository:
  rL LLVM

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

https://reviews.llvm.org/D63670





More information about the llvm-commits mailing list