From: Eric Christopher Date: Thu, 15 Oct 2015 20:04:40 +0000 (+0000) Subject: Add the minimum target features that these tests depend upon. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c99fa21f902d4aeab6b76e569a84ffa5f42f13f;p=clang Add the minimum target features that these tests depend upon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250448 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/adc-builtins.c b/test/CodeGen/adc-builtins.c index 0d8d6fa034..5e5890595f 100644 --- a/test/CodeGen/adc-builtins.c +++ b/test/CodeGen/adc-builtins.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +adx -emit-llvm -o - %s | FileCheck %s #define __MM_MALLOC_H diff --git a/test/CodeGen/builtins-x86.c b/test/CodeGen/builtins-x86.c index 88ff2821ef..d4fcae0478 100644 --- a/test/CodeGen/builtins-x86.c +++ b/test/CodeGen/builtins-x86.c @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -DUSE_64 -triple x86_64-unknown-unknown -emit-llvm -o %t %s -// RUN: %clang_cc1 -DUSE_ALL -triple x86_64-unknown-unknown -fsyntax-only -o %t %s +// RUN: %clang_cc1 -DUSE_64 -triple x86_64-unknown-unknown -target-feature +avx -target-feature +xsaveopt -target-feature +xsaves -target-feature +xsavec -emit-llvm -o %t %s +// RUN: %clang_cc1 -DUSE_ALL -triple x86_64-unknown-unknown -target-feature +avx -target-feature +xsaveopt -target-feature +xsaves -target-feature +xsavec -fsyntax-only -o %t %s #ifdef USE_ALL #define USE_3DNOW