1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/Analysis/ScalarEvolution
Philip Reames 3b71e989fe [SCEV] Add smin support to getRangeRef
We were failing to compute trip counts (both exact and maximum) for any loop which involved a comparison against either an umin or smin. It looks like this simply got missed when we added smin/umin to SCEV.  (Note: umin was submitted separately earlier today.  Turned out two folks hit this at the same time.)

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

llvm-svn: 371776
2019-09-12 21:32:27 +00:00
..
2007-07-15-NegativeStride.ll
2007-08-06-MisinterpretBranch.ll
2007-08-06-Unsigned.ll
2007-09-27-LargeStepping.ll
2007-11-14-SignedAddRec.ll
2007-11-18-OrInstruction.ll
2008-02-11-ReversedCondition.ll
2008-02-12-SMAXTripCount.ll
2008-02-15-UMax.ll
2008-05-25-NegativeStepToZero.ll
2008-06-12-BinomialInt64.ll
2008-07-12-UnneededSelect1.ll
2008-07-12-UnneededSelect2.ll
2008-07-19-InfiniteLoop.ll
2008-07-19-WrappingIV.ll
2008-07-29-SGTTripCount.ll
2008-07-29-SMinExpr.ll [SCEV] Add explicit representations of umin/smin 2019-05-07 15:28:47 +00:00
2008-08-04-IVOverflow.ll
2008-08-04-LongAddRec.ll
2008-11-02-QuadraticCrash.ll
2008-11-15-CubicOOM.ll
2008-11-18-LessThanOrEqual.ll
2008-11-18-Stride1.ll
2008-11-18-Stride2.ll
2008-12-08-FiniteSGE.ll
2008-12-11-SMaxOverflow.ll
2008-12-14-StrideAndSigned.ll
2008-12-15-DontUseSDiv.ll
2009-01-02-SignedNegativeStride.ll
2009-04-22-TruncCast.ll
2009-05-09-PointerEdgeCount.ll
2009-07-04-GroupConstantsWidthMismatch.ll
2010-09-03-RequiredTransitive.ll
2011-03-09-ExactNoMaxBECount.ll
2011-04-26-FoldAddRec.ll
2011-10-04-ConstEvolve.ll
2012-03-26-LoadConstant.ll
2012-05-18-LoopPredRecurse.ll
2012-05-29-MulAddRec.ll
and-xor.ll
avoid-assume-hang.ll
avoid-infinite-recursion-0.ll
avoid-infinite-recursion-1.ll
avoid-smax-0.ll
avoid-smax-1.ll
binomial-explision.ll [SCEV] Avoid redundant computations when doing AddRec merge 2018-11-01 06:18:27 +00:00
cache_loop_exit_limit.ll
constant_condition.ll
different-loops-recs.ll
div-overflow.ll
do-loop.ll
exact_iter_count.ll
exact-exit-count-more-precise.ll [SCEV] Handle case where MaxBECount is less precise than ExactBECount for OR. 2019-03-02 02:31:44 +00:00
exhaustive-trip-counts.ll
expander-replace-congruent-ivs.ll
exponential-behavior.ll
ext-antecedent.ll
extract-highbits-sameconstmask.ll [SCEV] Use unsigned/signed intersection type in SCEV 2019-06-15 09:15:52 +00:00
extract-highbits-variablemask.ll
extract-lowbits-sameconstmask.ll
extract-lowbits-variablemask.ll
flags-from-poison-dbg.ll
flags-from-poison.ll
flattened-0.ll
fold.ll
guards.ll
how-far-to-zero.ll
huge_expression_limit.ll [SCEV] Prohibit SCEV transformations for huge SCEVs 2019-01-31 06:19:25 +00:00
implied-via-addition.ll
implied-via-division.ll
incorrect-nsw.ll
increasing-or-decreasing-iv.ll [SCEV] Use unsigned/signed intersection type in SCEV 2019-06-15 09:15:52 +00:00
infer-prestart-no-wrap.ll [SCEV] Use unsigned/signed intersection type in SCEV 2019-06-15 09:15:52 +00:00
infer-via-ranges.ll
inner-loop-by-latch-cond-unknown.ll
invalidation.ll
latch-dominating-conditions.ll
limit-depth.ll [SCEV] add no wrap flag for SCEVAddExpr. 2019-07-18 09:23:19 +00:00
load-with-range-metadata.ll
load.ll
lshr-shl-differentconstmask.ll [SCEV] Use unsigned/signed intersection type in SCEV 2019-06-15 09:15:52 +00:00
max-addops-inline.ll
max-addrec-size.ll
max-be-count-not-constant.ll
max-expr-cache.ll [SCEV] Add smin support to getRangeRef 2019-09-12 21:32:27 +00:00
max-mulops-inline.ll
max-trip-count-address-space.ll
max-trip-count.ll
merge-add-rec-many-inputs.ll
min-max-exprs.ll [SCEV] Add explicit representations of umin/smin 2019-05-07 15:28:47 +00:00
no-wrap-add-exprs.ll [SCEV] Add zext(C + x + ...) -> D + zext(C-D + x + ...)<nuw><nsw> transform 2018-07-24 21:48:56 +00:00
no-wrap-unknown-becount.ll
non-IV-phi.ll
nowrap-preinc-limits.ll
nsw-offset-assume.ll
nsw-offset.ll
nsw.ll [SCEV] add no wrap flag for SCEVAddExpr. 2019-07-18 09:23:19 +00:00
nw-sub-is-not-nw-add.ll
overflow-intrinsics-trip-count.ll [SCEV] teach SCEV symbolical execution about overflow intrinsics folding. 2019-07-11 02:18:22 +00:00
overflow-intrinsics.ll
pointer-sign-bits.ll
pr3909.ll
pr18606-min-zeros.ll Fixed typos in tests: s/CEHCK/CHECK/ 2019-02-25 13:12:33 +00:00
pr18606.ll Fixed typos in tests: s/CEHCK/CHECK/ 2019-02-25 13:12:33 +00:00
pr22179.ll
pr22641.ll
pr22674.ll
pr22856.ll
pr24757.ll
pr25369.ll
pr27315.ll
pr28705.ll Return "[IndVars] Smart hard uses detection" 2018-11-08 11:54:35 +00:00
pr34538.ll
pr35890.ll
pr40420.ll [SCEV] Take correct loop in AddRec simplification. PR40420 2019-01-29 05:37:59 +00:00
predicated-trip-count.ll [SCEV] Add explicit representations of umin/smin 2019-05-07 15:28:47 +00:00
range-signedness.ll
returned.ll
scev-aa.ll
scev-canonical-mode.ll
scev-dispositions.ll
scev-expander-existing-value-offset.ll
scev-expander-incorrect-nowrap.ll
scev-expander-reuse-gep.ll
scev-expander-reuse-unroll.ll [LoopUnroll] Add support for loops with exiting headers and uncond latches. 2019-06-26 09:16:57 +00:00
scev-expander-reuse-vect.ll
scev-invalid.ll
scev-prestart-nowrap.ll
sext-inreg.ll
sext-iv-0.ll
sext-iv-1.ll
sext-iv-2.ll
sext-mul.ll [SCEV] Use unsigned/signed intersection type in SCEV 2019-06-15 09:15:52 +00:00
sext-to-zext.ll
sext-zero.ll
shift-op.ll
shl-lshr-differentconstmask.ll
sle.ll
smax-br-phi-idioms.ll
smax.ll
solve-quadratic-i1.ll [SCEV] Properly solve quadratic equations 2018-08-02 19:13:35 +00:00
solve-quadratic-overflow.ll [SCEV] Properly solve quadratic equations 2018-08-02 19:13:35 +00:00
solve-quadratic.ll [test] Fix ScalarEvolution test to allow __func__ with prototype 2018-12-02 16:49:28 +00:00
SolveQuadraticEquation.ll
strip-injective-zext.ll
trip-count2.ll
trip-count3.ll [SCEV] Add explicit representations of umin/smin 2019-05-07 15:28:47 +00:00
trip-count4.ll
trip-count5.ll
trip-count6.ll
trip-count7.ll
trip-count8.ll
trip-count9.ll [SCEV] add no wrap flag for SCEVAddExpr. 2019-07-18 09:23:19 +00:00
trip-count10.ll
trip-count11.ll
trip-count12.ll [SCEV] add no wrap flag for SCEVAddExpr. 2019-07-18 09:23:19 +00:00
trip-count13.ll
trip-count14.ll Update -analyze -scalar-evolution output for multiple exit loops w/computable exit values 2019-06-27 19:22:43 +00:00
trip-count15.ll [SCEV] Add smin support to getRangeRef 2019-09-12 21:32:27 +00:00
trip-count-pow2.ll
trip-count-switch.ll
trip-count-unknown-stride.ll
trip-count.ll
tripmultiple_calculation.ll
trunc-simplify.ll
truncate.ll [SCEV] Fix buggy behavior in getAddExpr with truncs 2018-07-19 01:46:21 +00:00
undefined.ll
unknown_phis.ll
unreachable-code.ll [SCEV] Do not bother creating separate SCEVUnknown for unreachable nodes 2019-02-04 05:04:19 +00:00
unsimplified-loop.ll
urem-0.ll
ZeroStep.ll
zext-divrem.ll
zext-mul.ll
zext-signed-addrec.ll
zext-wrap.ll