File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
llvm/test/Transforms/VectorCombine/AArch64 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1- ; RUN: opt -mtriple=aarch64-unknown-linux-gnu -mattr=+sve -passes=vector-combine %s -S -o - | FileCheck %s
1+ ; RUN: opt -mtriple=aarch64-unknown-linux-gnu -passes=vector-combine %s -S -o - | FileCheck %s
22
33target triple = "aarch64-unknown-linux-gnu"
44
55define <vscale x 4 x i16 > @interleave2_same_const_splat_nxv4i16 () {
66;CHECK-LABEL: @interleave2_same_const_splat_nxv4i16(
7- ;CHECK: ret <vscale x 4 x i16> bitcast (<vscale x 2 x i32> splat (i32 196611) to <vscale x 4 x i16>)
7+ ;CHECK: call <vscale x 4 x i16> @llvm.vector.interleave2
8+ ;CHECK: ret <vscale x 4 x i16> %retval
89 %retval = call <vscale x 4 x i16 > @llvm.vector.interleave2.nxv4i16 (<vscale x 2 x i16 > splat(i16 3 ), <vscale x 2 x i16 > splat(i16 3 ))
910 ret <vscale x 4 x i16 > %retval
1011}
You can’t perform that action at this time.
0 commit comments