From: Alina Sbirlea Date: Fri, 24 May 2019 21:49:27 +0000 (+0000) Subject: Mark tests as x86. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=900624ef605b60c613342dac071228539a402ce9;p=clang Mark tests as x86. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/loop-unroll.c b/test/CodeGen/loop-unroll.c index c37411fa05..601bf43d82 100644 --- a/test/CodeGen/loop-unroll.c +++ b/test/CodeGen/loop-unroll.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -S -O1 -fno-unroll-loops -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-DISABLE-UNROLL // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -fexperimental-new-pass-manager -S -O1 -funroll-loops -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-ENABLE-UNROLL // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -fexperimental-new-pass-manager -S -O1 -fno-unroll-loops -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-DISABLE-UNROLL +// REQUIRES: x86-registered-target // CHECK-ENABLE-UNROLL-LABEL: @for_test() // CHECK-ENABLE-UNROLL: br label %[[FORBODY:[a-z0-9_\.]+]] diff --git a/test/CodeGen/loop-vectorize.c b/test/CodeGen/loop-vectorize.c index f1c5c0cee7..c4c8715ffe 100644 --- a/test/CodeGen/loop-vectorize.c +++ b/test/CodeGen/loop-vectorize.c @@ -2,6 +2,7 @@ // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -S -O1 -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-DISABLE-VECT // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -fexperimental-new-pass-manager -S -O1 -vectorize-loops -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-ENABLE-VECT // RUN: %clang_cc1 -triple x86_64 -target-cpu x86-64 -fexperimental-new-pass-manager -S -O1 -emit-llvm -o - %s | FileCheck %s -check-prefix=CHECK-DISABLE-VECT +// REQUIRES: x86-registered-target // CHECK-ENABLE-VECT-LABEL: @for_test() // CHECK-ENABLE-VECT: fmul <{{[0-9]+}} x double>