commit | e402b549badd6aa7066802d91b711c8a995da317 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Fri Sep 22 21:47:22 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Fri Sep 22 21:47:22 2017 +0000 |
tree | 5f5277f1f5498a7a0f548733e0df5f5d83c84245 | |
parent | d75d4fb90db7fb28df1f3fdcc3bb573ed81469c5 [diff] |
[InstCombine] Teach foldICmpUsingKnownBits to simplify SLE/SGE/ULE/UGE to equality comparisons when the min/max ranges intersect in a single value. This is the inverse of what we do for SGT/SLT/UGT/ULT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314032 91177308-0d34-0410-b5e6-96231b3b80d8