brintos

brintos / llvm-project-archived public Read only

0
0
Text · 746 B · 99ed853 Raw
23 lines · plain
1; RUN: llc < %s -mcpu=cortex-a9 -mattr=+neon,+neonfp -float-abi=hard -mtriple armv7-linux-gnueabi | FileCheck %s2 3;; This test checks that the ExecutionDomainFix pass performs the domain changes4;; even when some dependencies are propagated through implicit definitions.5 6; CHECK: fun_a7define <4 x float> @fun_a(<4 x float> %in, <4 x float> %x, float %y) nounwind {8; CHECK: vext9; CHECK: vext10; CHECK: vadd.f3211  %1 = insertelement <4 x float> %in, float %y, i32 012  %2 = fadd <4 x float> %1, %x  13  ret <4 x float> %214}15; CHECK: fun_b16define <4 x i32> @fun_b(<4 x i32> %in, <4 x i32> %x, i32 %y) nounwind {17; CHECK: vmov.3218; CHECK: vadd.i3219  %1 = insertelement <4 x i32> %in, i32 %y, i32 020  %2 = add <4 x i32> %1, %x  21  ret <4 x i32> %222}23