llvm-project/llvm/test/Analysis/LoopAccessAnalysis
Philip Reames 1183d65b4d [SCEV] Search operand tree for scope bound when inferring flags from IR
When checking to see if we can apply IR flags to a SCEV, we need to identify a bound on the defining scope of the SCEV to be produced.  We'd previously added support for a couple SCEVExpr types which trivially imply bounds, but hadn't handled types such as umax where the bounds come from the bounds of the operands.  This does the obvious thing, and recurses through operands searching for a tighter bound on the defining scope.

I'm honestly surprised by how little this seems to mater on existing tests, but it's worth doing for completeness sake alone.

Differential Revision: https://reviews.llvm.org/D111191
2021-10-06 15:10:02 -07:00
..
backward-dep-different-types.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
forward-loop-carried.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
forward-loop-independent.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
gep-induction-operand-typesize-warning.ll [SVE] Remove checks for warnings in scalable-vector tests. 2021-04-07 15:59:32 +01:00
independent-interleaved.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
interleave-innermost.ll
memcheck-for-loop-invariant.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
memcheck-ni.ll
memcheck-off-by-one-error.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
memcheck-store-vs-alloc-size.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
memcheck-wrapping-pointers.ll [SCEV] Search operand tree for scope bound when inferring flags from IR 2021-10-06 15:10:02 -07:00
multiple-strides-rt-memory-checks.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
non-wrapping-pointer.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
nullptr.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
number-of-memchecks.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
pointer-phis.ll Recommit "[LAA] Support pointer phis in loop by analyzing each incoming pointer." 2021-09-14 11:19:12 +01:00
pointer-with-unknown-bounds.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
pr31098.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
resort-to-memchecks-only.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
reverse-memcheck-bounds.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
runtime-pointer-checking-insert-typesize.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
safe-no-checks.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
safe-with-dep-distance.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
store-to-invariant-check1.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
store-to-invariant-check2.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
store-to-invariant-check3.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
stride-access-dependence.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
uncomputable-backedge-taken-count.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
underlying-objects-1.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
underlying-objects-2.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
unsafe-and-rt-checks-convergent.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
unsafe-and-rt-checks.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00
wrapping-pointer-ni.ll [SCEVExpander] Simplify pointer overflow check 2021-09-02 20:15:59 +02:00
wrapping-pointer-versioning.ll [test][NewPM] Remove RUN lines using -analyze 2021-09-02 11:38:14 -07:00