1; RUN: llc < %s -march=arm -mcpu=cortex-a9 -mattr=+neon,+neonfp -float-abi=hard -mtriple armv7-linux-gnueabi | FileCheck %s
2
3;; This test checks that the ExecutionDepsFix pass performs the domain changes
4;; even when some dependencies are propagated through implicit definitions.
5
6; CHECK: fun_a
7define <4 x float> @fun_a(<4 x float> %in, <4 x float> %x, float %y) nounwind {
8; CHECK: vext
9; CHECK: vext
10; CHECK: vadd.f32
11  %1 = insertelement <4 x float> %in, float %y, i32 0
12  %2 = fadd <4 x float> %1, %x
13  ret <4 x float> %2
14}
15; CHECK: fun_b
16define <4 x i32> @fun_b(<4 x i32> %in, <4 x i32> %x, i32 %y) nounwind {
17; CHECK: vmov.32
18; CHECK: vadd.i32
19  %1 = insertelement <4 x i32> %in, i32 %y, i32 0
20  %2 = add <4 x i32> %1, %x
21  ret <4 x i32> %2
22}
23