llvm-project/llvm/test/CodeGen/X86/avx512-shuffles
Sanjay Patel 0a515595a7 [x86] allow vector load narrowing with multi-use values
This is a long-awaited follow-up suggested in D33578. Since then, we've picked up even more
opportunities for vector narrowing from changes like D53784, so there are a lot of test diffs.
Apart from 2-3 strange cases, these are all wins.

I've structured this to be no-functional-change-intended for any target except for x86
because I couldn't tell if AArch64, ARM, and AMDGPU would improve or not. All of those
targets have existing regression tests (4, 4, 10 files respectively) that would be
affected. Also, Hexagon overrides the shouldReduceLoadWidth() hook, but doesn't show
any regression test diffs. The trade-off is deciding if an extra vector load is better
than a single wide load + extract_subvector.

For x86, this is almost always better (on paper at least) because we often can fold
loads into subsequent ops and not increase the official instruction count. There's also
some unknown -- but potentially large -- benefit from using narrower vector ops if wide
ops are implemented with multiple uops and/or frequency throttling is avoided.

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

llvm-svn: 346595
2018-11-10 20:05:31 +00:00
..
broadcast-scalar-fp.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
broadcast-scalar-int.ll
broadcast-vector-fp.ll
broadcast-vector-int.ll
duplicate-high.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
duplicate-low.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
in_lane_permute.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
partial_permute.ll [x86] allow vector load narrowing with multi-use values 2018-11-10 20:05:31 +00:00
permute.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
shuffle-interleave.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00
shuffle-vec.ll [X86] Remove all the vector NOP bitcast patterns. Use a few lines of code in the Select method in X86ISelDAGToDAG.cpp instead. 2018-08-03 07:01:10 +00:00
shuffle.ll
unpack.ll [X86] Add custom execution domain fixing for 128/256-bit integer logic operations with AVX512F, but not AVX512DQ. 2018-07-15 23:32:36 +00:00