1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Transforms/Attributor
Nikita Popov 6d5fd91806 [InstCombine] Generalize icmp handling in isKnownNonZero()
The dominating condition handling in isKnownNonZero() currently
only takes into account conditions of the form "x != 0" or "x == 0".
However, there are plenty of other conditions that imply non-zero,
a common one being "x s> 0".

Peculiarly, the handling for assumes was already dealing with more
general non-zero-ness conditions, so this just reuses the same
logic for the dominating condition case.
2020-12-25 16:49:23 +01:00
..
ArgumentPromotion OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
IPConstantProp OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
reduced OpaquePtr: Update more tests to use typed sret 2020-11-20 20:08:43 -05:00
align.ll
allow_list.ll
alwaysinline.ll
callbacks.ll
chain.ll
depgraph.ll
dereferenceable-1.ll
dereferenceable-2-inseltpoison.ll Precommit transform tests that have poison as insertelement's placeholder 2020-12-24 11:46:17 +09:00
dereferenceable-2.ll
heap_to_stack.ll
internal-noalias.ll
internalize.ll
lit.local.cfg [FileCheck] Enforce --allow-unused-prefixes=false for llvm/test/Transforms 2020-12-09 08:51:38 -08:00
liveness_chains.ll
liveness.ll [Attributor][FIX] Delete all unreachable static functions 2020-10-27 22:07:55 -05:00
lvi-after-jumpthreading.ll
lvi-for-ashr.ll
memory_locations.ll
misc_crash.ll
misc.ll
new_attributes.ll
noalias.ll
nocapture-1.ll
nocapture-2.ll
nofree.ll
nonnull.ll [InstCombine] Generalize icmp handling in isKnownNonZero() 2020-12-25 16:49:23 +01:00
norecurse.ll
noreturn_async.ll
noreturn_sync.ll
noreturn.ll
nosync.ll
noundef.ll
nounwind.ll
potential.ll
range.ll
read_write_returned_arguments_scc.ll
readattrs.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
returned.ll
undefined_behavior.ll
value-simplify.ll OpaquePtr: Bulk update tests to use typed byval 2020-11-20 14:00:46 -05:00
willreturn.ll
wrapper.ll