; RUN: llc -O0 -march=arm64 -aarch64-neon-syntax=apple -verify-machineinstrs < %s | FileCheck %s ; The following 2 test cases test shufflevector with beginning UNDEF mask. define <8 x i16> @test_vext_undef_traverse(<8 x i16> %in) { ;CHECK-LABEL: test_vext_undef_traverse: ;CHECK: {{ext.16b.*v0, #4}} %vext = shufflevector <8 x i16> , <8 x i16> %in, <8 x i32> ret <8 x i16> %vext } define <8 x i16> @test_vext_undef_traverse2(<8 x i16> %in) { ;CHECK-LABEL: test_vext_undef_traverse2: ;CHECK: {{ext.16b.*v0, #6}} %vext = shufflevector <8 x i16> %in, <8 x i16> , <8 x i32> ret <8 x i16> %vext } define <8 x i8> @test_vext_undef_traverse3(<8 x i8> %in) { ;CHECK-LABEL: test_vext_undef_traverse3: ;CHECK: {{ext.8b.*v0, #6}} %vext = shufflevector <8 x i8> %in, <8 x i8> , <8 x i32> ret <8 x i8> %vext }