| commit | ea927baee2ab71dde4b4c8f4df5c565ea2ff9f2b | [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 | 193a956bef78c32fd9686f999dcba588caa673db | |
| parent | 73a998908f9ef62a5d899820310c211e3a700a43 [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. llvm-svn: 314032