1 ; RUN: llc < %s -march=sparc | FileCheck %s
3 ; Verify that we correctly handle vector types that appear directly
4 ; during call lowering. These may cause issue as v2i32 is a legal type
5 ; for the implementation of LDD
11 define <2 x i16> @fun16v() #0 {
12 %1 = tail call <2 x i16> @foo1_16v()
13 %2 = tail call <2 x i16> @foo2_16v()
14 %3 = and <2 x i16> %2, %1
18 declare <2 x i16> @foo1_16v() #0
19 declare <2 x i16> @foo2_16v() #0
21 ; CHECK-LABEL: fun32v:
25 define <2 x i32> @fun32v() #0 {
26 %1 = tail call <2 x i32> @foo1_32v()
27 %2 = tail call <2 x i32> @foo2_32v()
28 %3 = and <2 x i32> %2, %1
32 declare <2 x i32> @foo1_32v() #0
33 declare <2 x i32> @foo2_32v() #0