1 ; RUN: llc < %s -march=x86-64 -mcpu=corei7-avx | FileCheck %s
4 define <4 x double> @test_x86_avx_blend_pd_256(<4 x double> %a0) {
5 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a0, i32 7)
8 ; CHECK-LABEL: test_x86_avx_blend_pd_256
13 define <8 x float> @test_x86_avx_blend_ps_256(<8 x float> %a0) {
14 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a0, i32 7)
17 ; CHECK-LABEL: test_x86_avx_blend_ps_256
22 define <4 x double> @test2_x86_avx_blend_pd_256(<4 x double> %a0, <4 x double> %a1) {
23 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 0)
26 ; CHECK-LABEL: test2_x86_avx_blend_pd_256
31 define <8 x float> @test2_x86_avx_blend_ps_256(<8 x float> %a0, <8 x float> %a1) {
32 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 0)
35 ; CHECK-LABEL: test2_x86_avx_blend_ps_256
40 define <4 x double> @test3_x86_avx_blend_pd_256(<4 x double> %a0, <4 x double> %a1) {
41 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 -1)
44 ; CHECK-LABEL: test3_x86_avx_blend_pd_256
49 define <8 x float> @test3_x86_avx_blend_ps_256(<8 x float> %a0, <8 x float> %a1) {
50 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 -1)
53 ; CHECK-LABEL: test3_x86_avx_blend_ps_256
58 declare <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double>, <4 x double>, i32)
59 declare <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float>, <8 x float>, i32)