34 lines · plain
1; RUN: llc < %s -mtriple=sparc | FileCheck %s2 3; Verify that we correctly handle vector types that appear directly4; during call lowering. These may cause issue as v2i32 is a legal type5; for the implementation of LDD6 7; CHECK-LABEL: fun16v:8; CHECK: foo1_16v9; CHECK: foo2_16v10 11define <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, %115 ret <2 x i16> %316}17 18declare <2 x i16> @foo1_16v() #019declare <2 x i16> @foo2_16v() #020 21; CHECK-LABEL: fun32v:22; CHECK: foo1_32v23; CHECK: foo2_32v24 25define <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, %129 ret <2 x i32> %330}31 32declare <2 x i32> @foo1_32v() #033declare <2 x i32> @foo2_32v() #034