]> granicus.if.org Git - llvm/commit
[InstSimplify] Add tests for signed icmp of and/or; NFC
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 21 Mar 2019 21:13:08 +0000 (21:13 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 21 Mar 2019 21:13:08 +0000 (21:13 +0000)
commit49e23dc657fdf94c04c3ba59b317f73689e346fa
tree9b128330566f97afdbcd4207905213bea3cd93db
parentb79b3c8160501d3ead3c2a9262a62801d428d730
[InstSimplify] Add tests for signed icmp of and/or; NFC

Even if a signed predicate is used, the ranges computed for and/or
are unsigned, resulting in missed simplifications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356720 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstSimplify/icmp-constant.ll