]> granicus.if.org Git - clang/commitdiff
Add the minimum target features that these tests depend upon.
authorEric Christopher <echristo@gmail.com>
Thu, 15 Oct 2015 20:04:40 +0000 (20:04 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 15 Oct 2015 20:04:40 +0000 (20:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250448 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/adc-builtins.c
test/CodeGen/builtins-x86.c

index 0d8d6fa03476f1aba60f0385dad33e36415a215a..5e5890595fb0d5bbef328ab768010470156c1869 100644 (file)
@@ -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
 
index 88ff2821efcab50517528dc5c9d0f5926972a57a..d4fcae0478bd12a4f7ab4ab8c6f37d3a813a2879 100644 (file)
@@ -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