From ec7f30662e5a8aa3ae7e82bd55895f7899f7e8dd Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Wed, 15 Oct 2014 23:42:14 +0000 Subject: [PATCH] [AVX512] Add SKX testing to avx512-insert-extract.ll This is in preparation to adding DQ subvector inserts to this testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219873 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/avx512-insert-extract.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/avx512-insert-extract.ll b/test/CodeGen/X86/avx512-insert-extract.ll index 2aff7c75bc3..fa60476ab0a 100644 --- a/test/CodeGen/X86/avx512-insert-extract.ll +++ b/test/CodeGen/X86/avx512-insert-extract.ll @@ -1,4 +1,5 @@ -; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s +; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck --check-prefix=KNL --check-prefix=CHECK %s +; RUN: llc < %s -march=x86-64 -mtriple=x86_64-apple-darwin -mcpu=skx | FileCheck --check-prefix=SKX --check-prefix=CHECK %s ;CHECK-LABEL: test1: ;CHECK: vinsertps @@ -186,7 +187,8 @@ define i16 @test16(i1 *%addr, i16 %a) { ;CHECK-LABEL: test17 ;CHECK: kshiftlw ;CHECK: kshiftrw -;CHECK: korw +;KNL: korw +;SKX: korb ;CHECK: ret define i8 @test17(i1 *%addr, i8 %a) { %x = load i1 * %addr, align 128 -- 2.34.1