1 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu \
2 ; RUN: -verify-machineinstrs < %s | FileCheck %s
4 define <4 x float> @check_vcfsx(<4 x i32> %a) {
6 %0 = tail call <4 x float> @llvm.ppc.altivec.vcfsx(<4 x i32> %a, i32 1)
8 ; CHECK-LABEL: check_vcfsx
9 ; CHECK: vcfsx {{[0-9]+}}, {{[0-9]+}}, 1
12 define <4 x float> @check_vcfux(<4 x i32> %a) {
14 %0 = tail call <4 x float> @llvm.ppc.altivec.vcfux(<4 x i32> %a, i32 1)
16 ; CHECK-LABEL: check_vcfux
17 ; CHECK: vcfux {{[0-9]+}}, {{[0-9]+}}, 1
20 define <4 x i32> @check_vctsxs(<4 x float> %a) {
22 %0 = tail call <4 x i32> @llvm.ppc.altivec.vctsxs(<4 x float> %a, i32 1)
24 ; CHECK-LABEL: check_vctsxs
25 ; CHECK: vctsxs {{[0-9]+}}, {{[0-9]+}}, 1
28 define <4 x i32> @check_vctuxs(<4 x float> %a) {
30 %0 = tail call <4 x i32> @llvm.ppc.altivec.vctuxs(<4 x float> %a, i32 1)
32 ; CHECK-LABEL: check_vctuxs
33 ; CHECK: vctuxs {{[0-9]+}}, {{[0-9]+}}, 1
36 declare <4 x float> @llvm.ppc.altivec.vcfsx(<4 x i32>, i32 immarg)
37 declare <4 x float> @llvm.ppc.altivec.vcfux(<4 x i32>, i32 immarg)
38 declare <4 x i32> @llvm.ppc.altivec.vctsxs(<4 x float>, i32 immarg)
39 declare <4 x i32> @llvm.ppc.altivec.vctuxs(<4 x float>, i32 immarg)