1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/LoadStoreVectorizer/AMDGPU
Roman Tereshin cc01a9a147 [LSV] Look through selects for consecutive addresses
In some cases LSV sees (load/store _ (select _ <pointer expression>
<pointer expression>)) patterns in input IR, often due to sinking and
other forms of CFG simplification, sometimes interspersed with
bitcasts and all-constant-indices GEPs. With this
patch`areConsecutivePointers` method would attempt to handle select
instructions. This leads to an increased number of successful
vectorizations.

Technically, select instructions could appear in index arithmetic as
well, however, we don't see those in our test suites / benchmarks.
Also, there is a lot more freedom in IR shapes computing integral
indices in general than in what's common in pointer computations, and
it appears that it's quite unreliable to do anything short of making
select instructions first class citizens of Scalar Evolution, which
for the purposes of this patch is most definitely an overkill.

Reviewed By: rampitec

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

llvm-svn: 337965
2018-07-25 21:33:00 +00:00
..
aa-metadata.ll
adjust-alloca-alignment.ll
complex-index.ll
extended-index.ll
gep-bitcast.ll Reapply "[LSV] Refactoring + supporting bitcasts to a type of different size" 2018-07-20 20:10:04 +00:00
insertion-point.ll
interleaved-mayalias-store.ll
invariant-load.ll
lit.local.cfg
merge-stores-private.ll
merge-stores.ll
merge-vectors.ll
missing-alignment.ll
multiple_tails.ll
no-implicit-float.ll
optnone.ll
pointer-elements.ll
selects.ll [LSV] Look through selects for consecutive addresses 2018-07-25 21:33:00 +00:00
store_with_aliasing_load.ll
weird-type-accesses.ll