1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- -mattr=avx512f| FileCheck %s --check-prefixes=CHECK
4 define <32 x half> @foo(<32 x half> %a, <32 x half> %b) nounwind {
7 ; CHECK-NEXT: vcvtph2ps %ymm1, %zmm2
8 ; CHECK-NEXT: vcvtph2ps %ymm0, %zmm3
9 ; CHECK-NEXT: vaddps %zmm2, %zmm3, %zmm2
10 ; CHECK-NEXT: vcvtps2ph $4, %zmm2, %ymm2
11 ; CHECK-NEXT: vextractf64x4 $1, %zmm1, %ymm1
12 ; CHECK-NEXT: vcvtph2ps %ymm1, %zmm1
13 ; CHECK-NEXT: vextractf64x4 $1, %zmm0, %ymm0
14 ; CHECK-NEXT: vcvtph2ps %ymm0, %zmm0
15 ; CHECK-NEXT: vaddps %zmm1, %zmm0, %zmm0
16 ; CHECK-NEXT: vcvtps2ph $4, %zmm0, %ymm0
17 ; CHECK-NEXT: vinsertf64x4 $1, %ymm0, %zmm2, %zmm0
19 %1 = fadd <32 x half> %a, %b