llvm-project/llvm/test/Transforms/LoopVectorize/X86
Andrei Elovikov 8b8253fdc7 [LV] Let recordVectorLoopValueForInductionCast to check if IV was created from the cast.
Summary:
It turned out to be error-prone to expect the callers to handle that - better to
leave the decision to this routine and make the required data to be explicitly
passed to the function.

This handles the case that was missed in the r322473 and fixes the assert
mentioned in PR36524.

Reviewers: dorit, mssimpso, Ayal, dcaballe

Reviewed By: dcaballe

Subscribers: Ka-Ka, hiraditya, dneilson, hsaito, llvm-commits

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

llvm-svn: 327960
2018-03-20 09:04:39 +00:00
..
already-vectorized.ll [Loop Vectorize] Added a separate metadata 2017-08-20 10:32:41 +00:00
assume.ll
avx1.ll
avx512.ll [X86] Add support for passing 'prefer-vector-width' function attribute into X86Subtarget and exposing via X86's getRegisterWidth TTI interface. 2018-01-20 00:26:08 +00:00
consecutive-ptr-cg-bug.ll [SCEV] Smart range calculation for SCEVUnknown Phis 2018-03-01 06:56:48 +00:00
consecutive-ptr-uniforms.ll Support arbitrary address space pointers in masked gather/scatter intrinsics. 2017-05-03 12:28:54 +00:00
constant-vector-operand.ll
conversion-cost.ll
cost-model.ll
float-induction-x86.ll [SimplifyCFG] use pass options and remove the latesimplifycfg pass 2017-10-28 18:43:07 +00:00
force-ifcvt.ll
fp32_to_uint32-cost-model.ll
fp64_to_uint32-cost-model.ll Revert "r306473 - re-commit r306336: Enable vectorizer-maximize-bandwidth by default." 2017-07-01 03:24:09 +00:00
fp_to_sint8-cost-model.ll
funclet.ll
gather-cost.ll
gather-vs-interleave.ll
gather_scatter.ll [LV] Fix test checks, NFC. 2018-02-20 19:49:25 +00:00
gcc-examples.ll Revert "r306473 - re-commit r306336: Enable vectorizer-maximize-bandwidth by default." 2017-07-01 03:24:09 +00:00
illegal-parallel-loop-uniform-write.ll
imprecise-through-phis.ll revert r325515: [TTI CostModel] change default cost of FP ops to 1 (PR36280) 2018-02-21 01:42:52 +00:00
int128_no_gather.ll
interleaving.ll
lit.local.cfg
masked_load_store.ll [LV] Fix test checks, NFC. 2018-02-20 19:49:25 +00:00
max-mstore.ll
metadata-enable.ll [LV] Fix test checks, NFC 2018-02-21 16:48:23 +00:00
min-trip-count-switch.ll
mul_slm_16bit.ll
no-vector.ll
no_fpmath.ll Revert "r306473 - re-commit r306336: Enable vectorizer-maximize-bandwidth by default." 2017-07-01 03:24:09 +00:00
no_fpmath_with_hotness.ll Revert "r306473 - re-commit r306336: Enable vectorizer-maximize-bandwidth by default." 2017-07-01 03:24:09 +00:00
parallel-loops-after-reg2mem.ll
parallel-loops.ll
powof2div.ll
pr34438.ll LoopVectorize: MaxVF should not be larger than the loop trip count 2017-09-04 08:35:13 +00:00
pr35432.ll Fix r326154 buildbots test fail 2018-02-27 01:33:11 +00:00
pr36524.ll [LV] Let recordVectorLoopValueForInductionCast to check if IV was created from the cast. 2018-03-20 09:04:39 +00:00
propagate-metadata.ll
ptr-indvar-crash.ll
rauw-bug.ll
reduction-crash.ll Revert "r306473 - re-commit r306336: Enable vectorizer-maximize-bandwidth by default." 2017-07-01 03:24:09 +00:00
reduction-small-size.ll [LV] Ignore the cost of values that will not appear in the vectorized loop 2017-12-12 08:57:43 +00:00
reg-usage-debug.ll
reg-usage.ll [LV] Avoid computing the register usage for default VF. NFC 2017-09-13 19:35:45 +00:00
register-assumption.ll
scatter_crash.ll Support arbitrary address space pointers in masked gather/scatter intrinsics. 2017-05-03 12:28:54 +00:00
slm-no-vectorize.ll llvm/test/Transforms/LoopVectorize/X86/slm-no-vectorize.ll: -debug is available in +Asserts. 2017-07-02 14:25:27 +00:00
small-size.ll Improve profile-guided heuristics to use estimated trip count. 2017-06-19 18:48:58 +00:00
strided_load_cost.ll
struct-store.ll
svml-calls-finite.ll [TLI] Add mapping for various '__<func>_finite' forms of the math routines to SVML routines 2017-05-12 22:11:26 +00:00
svml-calls.ll
tripcount.ll
uint64_to_fp64-cost-model.ll
uniform-phi.ll
uniform_load.ll
uniformshift.ll
unroll-pm.ll
unroll-small-loops.ll
unroll_selection.ll
veclib-calls.ll
vect.omp.force.ll
vect.omp.force.small-tc.ll [LV] Optimize for size when vectorizing loops with tiny trip count 2017-06-30 08:02:35 +00:00
vector-scalar-select-cost.ll
vector_max_bandwidth.ll [LV] Clamp the VF to the trip count 2017-09-12 16:32:45 +00:00
vector_ptr_load_store.ll
vectorization-remarks-loopid-dbg.ll [Loop Vectorize] Added a separate metadata 2017-08-20 10:32:41 +00:00
vectorization-remarks-missed.ll [Loop Vectorize] Added a separate metadata 2017-08-20 10:32:41 +00:00
vectorization-remarks-profitable.ll
vectorization-remarks.ll [Loop Vectorize] Added a separate metadata 2017-08-20 10:32:41 +00:00
vectorize-only-for-real.ll
x86-predication.ll [LV] Introduce VPBlendRecipe, VPWidenMemoryInstructionRecipe 2017-11-14 12:09:30 +00:00
x86_fp80-vector-store.ll