hanchenye-llvm-project/llvm/test/Transforms/LoopIdiom
John Brawn c5a6392be3 [ValueTracking] Match select abs pattern when there's an sext involved
When checking a select to see if it matches an abs, allow the true/false values
to be a sign-extension of the comparison value instead of requiring that they're
directly the comparison value, as all the comparison cares about is the sign of
the value.

This fixes a regression due to r333702, where we were no longer generating ctlz
due to isKnownNonNegative failing to match such a pattern.

Differential Revision: https://reviews.llvm.org/D47631

llvm-svn: 333927
2018-06-04 16:53:57 +00:00
..
AMDGPU
ARM [ValueTracking] Match select abs pattern when there's an sext involved 2018-06-04 16:53:57 +00:00
X86 [ValueTracking] Match select abs pattern when there's an sext involved 2018-06-04 16:53:57 +00:00
basic-address-space.ll
basic.ll [LoopIdiom] Be more aggressive when setting alignment in memcpy 2018-02-08 17:33:08 +00:00
crash.ll
ctpop-multiple-users-crash.ll
debug-line.ll
int_sideeffect.ll
lir-heurs-multi-block-loop.ll
memset_noidiom.ll
non-canonical-loop.ll
non-integral-pointers.ll
nontemporal_store.ll
pr28196.ll
pr33114.ll
scev-invalidation.ll
struct-custom-dl.ll Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
struct.ll
struct_pattern.ll
unordered-atomic-memcpy-noarch.ll
unroll-custom-dl.ll Adding a width of the GEP index to the Data Layout. 2018-02-14 06:58:08 +00:00
unroll.ll
unsafe.ll
unwind.ll