From 5d159cce20465b1eb55eb904846d4af5bc04488d Mon Sep 17 00:00:00 2001 From: Michael Zuckerman Date: Mon, 31 Oct 2016 12:49:36 +0000 Subject: [PATCH] revert r285563 fail in test CodeGen/avx512-inline-asm-kregisters-basics.c git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285565 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 1 - .../avx512-inline-asm-kregisters-basics.c | 17 ----------------- 2 files changed, 18 deletions(-) delete mode 100644 test/CodeGen/avx512-inline-asm-kregisters-basics.c diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 9355f3b71b..e0c1fe483f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -2397,7 +2397,6 @@ static const char* const GCCRegNames[] = { "zmm8", "zmm9", "zmm10", "zmm11", "zmm12", "zmm13", "zmm14", "zmm15", "zmm16", "zmm17", "zmm18", "zmm19", "zmm20", "zmm21", "zmm22", "zmm23", "zmm24", "zmm25", "zmm26", "zmm27", "zmm28", "zmm29", "zmm30", "zmm31", - "k0", "k1", "k2", "k3", "k4", "k5", "k6", "k7", }; const TargetInfo::AddlRegName AddlRegNames[] = { diff --git a/test/CodeGen/avx512-inline-asm-kregisters-basics.c b/test/CodeGen/avx512-inline-asm-kregisters-basics.c deleted file mode 100644 index 78cb0a16ac..0000000000 --- a/test/CodeGen/avx512-inline-asm-kregisters-basics.c +++ /dev/null @@ -1,17 +0,0 @@ -// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-cpu skylake-avx512 -O0 -S -o - -Wall -Werror | FileCheck %s -// This test checks basic inline assembly recognition of k0-k7 registers for avx512. - -void test_basic_inline_asm_with_k_regs() { - //CHECK: ## InlineAsm Start - //CHECK: kandw %k1, %k2, %k3 - //CHECK: ## InlineAsm End - asm("kandw %k1, %k2, %k3\t"); - //CHECK: ## InlineAsm Start - //CHECK: kandw %k4, %k5, %k6 - //CHECK: ## InlineAsm End - asm("kandw %k4, %k5, %k6\t"); - //CHECK: ## InlineAsm Start - //CHECK: kandw %k7, %k0, %k1 - //CHECK: ## InlineAsm End - asm("kandw %k7, %k0, %k1\t"); -} -- 2.40.0