From: Craig Topper Date: Fri, 24 Feb 2017 05:34:57 +0000 (+0000) Subject: [AVX-512] Use update_llc_test_checks.py to generate a test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e35238cd604ae5a7d5843a243d565f3576c78b46;p=llvm [AVX-512] Use update_llc_test_checks.py to generate a test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296089 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/avx512cd-intrinsics.ll b/test/CodeGen/X86/avx512cd-intrinsics.ll index febd3d69dd1..a3a5354d8ed 100644 --- a/test/CodeGen/X86/avx512cd-intrinsics.ll +++ b/test/CodeGen/X86/avx512cd-intrinsics.ll @@ -1,17 +1,24 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl -mattr=+avx512cd | FileCheck %s define <16 x i32> @test_x86_vbroadcastmw_512(i16 %a0) { - ; CHECK: test_x86_vbroadcastmw_512 - ; CHECK: vpbroadcastmw2d %k0, %zmm0 - %res = call <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16 %a0) ; +; CHECK-LABEL: test_x86_vbroadcastmw_512: +; CHECK: ## BB#0: +; CHECK-NEXT: kmovw %edi, %k0 +; CHECK-NEXT: vpbroadcastmw2d %k0, %zmm0 +; CHECK-NEXT: retq + %res = call <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16 %a0) ret <16 x i32> %res } declare <16 x i32> @llvm.x86.avx512.broadcastmw.512(i16) define <8 x i64> @test_x86_broadcastmb_512(i8 %a0) { - ; CHECK: test_x86_broadcastmb_512 - ; CHECK: vpbroadcastmb2q %k0, %zmm0 - %res = call <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8 %a0) ; +; CHECK-LABEL: test_x86_broadcastmb_512: +; CHECK: ## BB#0: +; CHECK-NEXT: kmovw %edi, %k0 +; CHECK-NEXT: vpbroadcastmb2q %k0, %zmm0 +; CHECK-NEXT: retq + %res = call <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8 %a0) ret <8 x i64> %res } declare <8 x i64> @llvm.x86.avx512.broadcastmb.512(i8)