llvm-mirror/test/Transforms/VectorCombine
Huihui Zhang dc1e85f7b4 [VectorCombine][SVE] Do not fold bitcast shuffle for scalable type.
First, shuffle cost for scalable type is not known for scalable type;
Second, we cannot reason if the narrowed shuffle mask for scalable type
is a splat or not.

E.g., Bitcast splat vector from type <vscale x 4 x i32> to <vscale x 8 x i16>
will involve narrowing shuffle mask <vscale x 4 x i32> zeroinitializer to
<vscale x 8 x i32> with element sequence of <0, 1, 0, 1, ...>, which cannot be
reasoned if it's a valid splat or not.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D86995
2020-09-02 15:02:16 -07:00
..
AArch64 [VectorCombine][SVE] Do not fold bitcast shuffle for scalable type. 2020-09-02 15:02:16 -07:00
Hexagon [VectorCombine] add test for Hexagon that would crash; NFC 2020-08-12 08:38:20 -04:00
X86 [VectorCombine] allow vector loads with mismatched insert type 2020-09-02 08:11:36 -04:00