diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-07-22 02:43:43 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-07-22 02:43:43 +0000 |
| commit | ee5dc7e7ad8b8ad6b28b374e151aadb97bd8031c (patch) | |
| tree | 7fe5951a988c95c9c2da56b30d51b7f8cf9cb1a9 /llvm/test/Bitcode/thinlto-function-summary-refgraph.ll | |
| parent | 3d68adebc579720a3914d50e77a413773be34f16 (diff) | |
| download | bcm5719-llvm-ee5dc7e7ad8b8ad6b28b374e151aadb97bd8031c.tar.gz bcm5719-llvm-ee5dc7e7ad8b8ad6b28b374e151aadb97bd8031c.zip | |
[InstCombine] Add foldAndOfICmps test cases inspired by PR42691.
icmp ne %x, INT_MIN can be treated similarly to icmp sgt %x, INT_MIN.
icmp ne %x, INT_MAX can be treated similarly to icmp slt %x, INT_MAX.
icmp ne %x, UINT_MAX can be treated similarly to icmp ult %x, UINT_MAX.
We already treat icmp ne %x, 0 similarly to icmp ugt %x, 0
llvm-svn: 366662
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary-refgraph.ll')
0 files changed, 0 insertions, 0 deletions

