1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/Analysis/ValueTracking
Philip Reames b12ecd2ebd [tests] Stablize tests for possible change in deref semantics
There's a potential change in dereferenceability attribute semantics in the nearish future.  See llvm-dev thread "RFC: Decomposing deref(N) into deref(N) + nofree" and D99100 for context.

This change simply adds appropriate attributes to tests to keep transform logic exercised under both old and new/proposed semantics.  Note that for many of these cases, O3 would infer exactly these attributes on the test IR.

This change handles the idiomatic pattern of a dereferenceable object being passed to a call which can not free that memory.  There's a couple other tests which need more one-off attention, they'll be handled in another change.
2021-07-14 13:05:43 -07:00
..
aarch64.irg.ll
assume-queries-counter.ll reland [InstCombine] convert assumes to operand bundles 2021-02-13 13:03:11 +01:00
assume.ll reland [InstCombine] convert assumes to operand bundles 2021-02-13 13:03:11 +01:00
deref-abstract-gc.ll [deref] Implement initial set of inference rules for deref-at-point 2021-03-24 16:20:41 -07:00
deref-bitcast-of-gep.ll [tests] Stablize tests for possible change in deref semantics 2021-07-14 13:05:43 -07:00
dereferenceable-and-aligned.ll
func-ptr-lsb.ll
gep-negative-issue.ll
get-pointer-base-with-const-off.ll
invariant.group.ll
known-bits-from-operator-constexpr.ll
known-bits-from-range-md.ll
known-non-equal.ll Recommit "Generalize getInvertibleOperand recurrence handling slightly" 2021-05-03 16:40:56 -07:00
known-nonnull-at.ll Allow nonnull/align attribute to accept poison 2021-01-20 11:31:23 +09:00
known-power-of-two.ll
knownzero-addrspacecast.ll
knownzero-shift.ll
memory-dereferenceable.ll [deref] Handle byval/byref/sret/inalloc/preallocated arguments for deref-at-point semantics 2021-03-25 14:47:31 -07:00
monotonic-phi.ll [ValueTracking] Don't require strictly positive for mul nsw recurrence 2021-04-14 19:39:59 +02:00
non-negative-phi-bits.ll
numsignbits-from-assume.ll
pr23011.ll
select-pattern.ll
shift-recurrence-knownbits.ll [knownbits] Preserve known bits for small shift recurrences 2021-02-11 17:56:36 -08:00
signbits-extract-elt.ll