1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/SLPVectorizer/X86
Andrei Elovikov 3c9c875d8d [SLP] Don't allow Div/Rem as alternate opcodes
Summary:
We don't have control/verify what will be the RHS of the division, so it might
happen to be zero, causing UB.

Reviewers: Vasilis, RKSimon, ABataev

Reviewed By: ABataev

Subscribers: vporpo, ABataev, hiraditya, llvm-commits, vdmitrie

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D72740
2020-01-21 15:21:17 -08:00
..
addsub.ll
aggregate.ll
align.ll [NFC] Fix trivial typos in comments 2020-01-06 10:50:26 +00:00
alternate-calls.ll
alternate-cast.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00
alternate-fp.ll
alternate-int.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00
arith-add-saddo.ll
arith-add-ssat.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-add-uaddo.ll
arith-add-usat.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-add.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-fix.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-fp.ll [SLPVectorizer][X86] Regenerate arith-fp tests 2019-09-27 10:04:25 +00:00
arith-mul-smulo.ll
arith-mul-umulo.ll
arith-mul.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-sub-ssat.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-sub-ssubo.ll
arith-sub-usat.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
arith-sub-usubo.ll
arith-sub.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
atomics.ll
bad_types.ll
bad-reduction.ll [SLP] avoid reduction transform on patterns that the backend can load-combine (2nd try) 2019-10-16 18:06:24 +00:00
barriercall.ll
bitreverse.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
blending-shuffle.ll Recommit r367901 "[X86] Enable -x86-experimental-vector-widening-legalization by default." 2019-08-07 16:24:26 +00:00
broadcast.ll
bswap.ll
call.ll [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
cast.ll [X86][CostModel] Adjust the costs of ZERO_EXTEND/SIGN_EXTEND with less than 128-bit inputs 2019-08-14 14:52:39 +00:00
cmp_commute.ll
cmp_sel.ll
commutativity.ll
compare-reduce.ll
consecutive-access.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
continue_vectorizing.ll
crash_7zip.ll
crash_binaryop.ll
crash_bullet3.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
crash_bullet.ll
crash_cmpop.ll
crash_dequeue.ll
crash_flop7.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
crash_gep.ll [SLP]Fix PR43799: Crash on different sizes of GEP indices. 2019-11-04 10:36:26 -05:00
crash_lencod.ll
crash_mandeltext.ll
crash_netbsd_decompress.ll
crash_reordering_undefs.ll
crash_scheduling.ll
crash_sim4b1.ll
crash_smallpt.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
crash_vectorizeTree.ll
cross_block_slp.ll
cse.ll
ctlz.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
ctpop.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
cttz.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
cycle_dup.ll
debug_info.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
diamond.ll
different-vec-widths.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
external_user_jumbled_load.ll
external_user.ll
extract_in_tree_user.ll
extract-shuffle.ll
extract.ll
extractcost.ll
extractelement.ll
fabs-cost-softfp.ll
fabs.ll
fcopysign.ll
flag.ll
fma.ll
fptosi.ll Recommit r367901 "[X86] Enable -x86-experimental-vector-widening-legalization by default." 2019-08-07 16:24:26 +00:00
fptoui.ll Recommit r367901 "[X86] Enable -x86-experimental-vector-widening-legalization by default." 2019-08-07 16:24:26 +00:00
fround.ll
funclet.ll
gep_mismatch.ll
gep.ll
hadd.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00
hoist.ll
horizontal-list.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
horizontal-minmax.ll [SLP] reduce duplicated check lines in tests; NFC 2019-11-18 17:03:07 -05:00
horizontal.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
hsub.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00
implicitfloat.ll
in-tree-user.ll
insert-after-bundle.ll
insert-element-build-vector.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
insertvalue.ll
intrinsic.ll
jumbled_store_crash.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
jumbled-load-multiuse.ll
jumbled-load-shuffle-placement.ll
jumbled-load-used-in-phi.ll
jumbled-load.ll
limit.ll
lit.local.cfg
load-bitcast-vec.ll [SLP] add tests for bitcasted vector pointer load; NFC 2019-07-03 16:46:14 +00:00
load-merge.ll [SLP] respect target register width for GEP vectorization (PR43578) 2019-10-09 16:32:49 +00:00
long_chains.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
lookahead.ll [SLP] Look-ahead operand reordering heuristic. 2019-11-11 21:06:51 -08:00
loopinvariant.ll
metadata.ll
minimum-sizes.ll
multi_block.ll
multi_user.ll
no_alternate_divrem.ll [SLP] Don't allow Div/Rem as alternate opcodes 2020-01-21 15:21:17 -08:00
odd_store.ll
operandorder.ll
opt.ll
ordering.ll
partail.ll
phi3.ll [SLP] Support unary FNeg vectorization 2019-06-24 19:24:23 +00:00
phi_landingpad.ll
phi_overalignedtype.ll
phi.ll
powof2div.ll
pr16571.ll
pr16628.ll
pr16899.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
pr18060.ll
pr19657.ll [SLP] add test with prefer-vector-width function attribute; NFC 2019-10-08 12:43:46 +00:00
pr23510.ll
pr27163.ll
pr31599.ll
pr35497.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
pr42022.ll [SLP] Enhance SLPVectorizer to vectorize different combinations of aggregates 2019-12-03 19:29:27 +03:00
PR31847.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
PR32086.ll
PR34635.ll [SLP] avoid 'tmp' value name conflict with auto-generated CHECK script; NFC 2019-11-01 09:27:35 -04:00
PR35628_1.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
PR35628_2.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
PR35777.ll [SLP] avoid 'tmp' value name conflict with auto-generated CHECK script; NFC 2019-11-01 09:27:35 -04:00
PR35865.ll
PR36280.ll
PR39774.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
PR40310.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
propagate_ir_flags.ll [SLP] Support unary FNeg vectorization 2019-06-24 19:24:23 +00:00
reassociated-loads.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
reduction2.ll Temporarily Revert "[SLP] allow forming 2-way reduction patterns" and update testcases. 2019-11-20 16:00:53 -08:00
reduction_loads.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
reduction_unrolled.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
reduction.ll Temporarily Revert "[SLP] allow forming 2-way reduction patterns" and update testcases. 2019-11-20 16:00:53 -08:00
remark_horcost.ll [CostModel][X86] Improve sum reduction costs. 2019-10-12 13:21:50 +00:00
remark_listcost.ll
remark_not_all_parts.ll
remark_unsupported.ll
reorder_phi.ll
reorder_repeated_ops.ll [SLP] avoid 'tmp' value name conflict with auto-generated CHECK script; NFC 2019-11-01 09:27:35 -04:00
resched.ll
return.ll
reuse-extracts-in-wider-vect.ll [SLP]Fix test arguments, NFC. 2019-12-19 13:36:21 -05:00
reverse_extract_elements.ll
rgb_phi.ll
saxpy.ll
schedule_budget.ll
schedule-bundle.ll
scheduling.ll
sext.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00
shift-ashr.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
shift-lshr.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
shift-shl.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
sign-extend.ll
simple-loop.ll
simplebb.ll
sitofp.ll Recommit r367901 "[X86] Enable -x86-experimental-vector-widening-legalization by default." 2019-08-07 16:24:26 +00:00
slp-throttle.ll
sqrt.ll [X86] Replace -mcpu with -mattr on some tests. 2019-09-06 21:48:44 +00:00
store-jumbled.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
stores_vectorize.ll Revert "Temporarily Revert:" 2019-11-14 16:38:20 -05:00
supernode.ll [SLPVectorizer] Precommit of supernode.ll test for D63661 2019-06-25 14:58:20 +00:00
tiny-tree.ll
uitofp.ll Recommit r367901 "[X86] Enable -x86-experimental-vector-widening-legalization by default." 2019-08-07 16:24:26 +00:00
undef_vect.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
unreachable.ll
used-reduced-op.ll [SLP] fix miscompile on min/max reductions with extra uses (PR43948) (2nd try) 2019-11-19 14:57:35 -05:00
value-bug.ll
vect_copyable_in_binops.ll
vector_gep.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
vector.ll
vectorize-reorder-reuse.ll [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(Operands[i], L) && "SCEVAddRecExpr operand is not loop-invariant!") 2019-09-29 14:18:06 +00:00
zext.ll [x86] make SLM extract vector element more expensive than default 2019-11-27 14:08:56 -05:00