1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx | FileCheck %s
5 define <4 x double> @test_x86_avx_blend_pd_256(<4 x double> %a0) {
6 ; CHECK-LABEL: test_x86_avx_blend_pd_256:
9 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a0, i32 7)
13 define <8 x float> @test_x86_avx_blend_ps_256(<8 x float> %a0) {
14 ; CHECK-LABEL: test_x86_avx_blend_ps_256:
17 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a0, i32 7)
21 define <4 x double> @test2_x86_avx_blend_pd_256(<4 x double> %a0, <4 x double> %a1) {
22 ; CHECK-LABEL: test2_x86_avx_blend_pd_256:
25 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 0)
29 define <8 x float> @test2_x86_avx_blend_ps_256(<8 x float> %a0, <8 x float> %a1) {
30 ; CHECK-LABEL: test2_x86_avx_blend_ps_256:
33 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 0)
37 define <4 x double> @test3_x86_avx_blend_pd_256(<4 x double> %a0, <4 x double> %a1) {
38 ; CHECK-LABEL: test3_x86_avx_blend_pd_256:
40 ; CHECK-NEXT: vmovaps %ymm1, %ymm0
42 %1 = call <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double> %a0, <4 x double> %a1, i32 -1)
46 define <8 x float> @test3_x86_avx_blend_ps_256(<8 x float> %a0, <8 x float> %a1) {
47 ; CHECK-LABEL: test3_x86_avx_blend_ps_256:
49 ; CHECK-NEXT: vmovaps %ymm1, %ymm0
51 %1 = call <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float> %a0, <8 x float> %a1, i32 -1)
55 declare <4 x double> @llvm.x86.avx.blend.pd.256(<4 x double>, <4 x double>, i32)
56 declare <8 x float> @llvm.x86.avx.blend.ps.256(<8 x float>, <8 x float>, i32)