[cfe-commits] r159949 - in /cfe/trunk/test: CodeGen/ Driver/
Jim Grosbach
grosbach at apple.com
Mon Jul 9 11:34:22 PDT 2012
Author: grosbach
Date: Mon Jul 9 13:34:21 2012
New Revision: 159949
URL: http://llvm.org/viewvc/llvm-project?rev=159949&view=rev
Log:
Tests: check for target availability for target-specific tests.
Lots of tests are using an explicit target triple w/o first checking that the
target is actually available. Add a REQUIRES clause to a bunch of them. This should
hopefully unbreak bots which don't configure w/ all targets enabled.
Modified:
cfe/trunk/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c
cfe/trunk/test/CodeGen/2010-05-26-AsmSideEffect.c
cfe/trunk/test/CodeGen/altivec.c
cfe/trunk/test/CodeGen/arm-aapcs-vfp.c
cfe/trunk/test/CodeGen/arm-aapcs-zerolength-bitfield.c
cfe/trunk/test/CodeGen/arm-apcs-zerolength-bitfield.c
cfe/trunk/test/CodeGen/arm-arguments.c
cfe/trunk/test/CodeGen/arm-asm-variable.c
cfe/trunk/test/CodeGen/arm-asm.c
cfe/trunk/test/CodeGen/arm-cc.c
cfe/trunk/test/CodeGen/arm-clear.c
cfe/trunk/test/CodeGen/arm-homogenous.c
cfe/trunk/test/CodeGen/arm-inline-asm.c
cfe/trunk/test/CodeGen/arm-pcs.c
cfe/trunk/test/CodeGen/arm-vaarg-align.c
cfe/trunk/test/CodeGen/arm-vector-align.c
cfe/trunk/test/CodeGen/arm-vector-arguments.c
cfe/trunk/test/CodeGen/asm_arm.c
cfe/trunk/test/CodeGen/bool_test.c
cfe/trunk/test/CodeGen/builtin-attributes.c
cfe/trunk/test/CodeGen/builtins-arm.c
cfe/trunk/test/CodeGen/builtins-mips-args.c
cfe/trunk/test/CodeGen/builtins-mips.c
cfe/trunk/test/CodeGen/builtins-ppc-altivec.c
cfe/trunk/test/CodeGen/fp16-ops.c
cfe/trunk/test/CodeGen/no-common.c
cfe/trunk/test/CodeGen/powerpc_types.c
cfe/trunk/test/CodeGen/pr5406.c
cfe/trunk/test/CodeGen/struct-init.c
cfe/trunk/test/CodeGen/struct-matching-constraint.c
cfe/trunk/test/CodeGen/vld_dup.c
cfe/trunk/test/Driver/mips-features.c
cfe/trunk/test/Driver/mips-float.c
Modified: cfe/trunk/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c (original)
+++ cfe/trunk/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 %s -triple powerpc-pc-linux -emit-llvm -o - | grep {i32 32} | count 3
// XFAIL: *
// Every printf has 'i32 0' for the GEP of the string; no point counting those.
Modified: cfe/trunk/test/CodeGen/2010-05-26-AsmSideEffect.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2010-05-26-AsmSideEffect.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2010-05-26-AsmSideEffect.c (original)
+++ cfe/trunk/test/CodeGen/2010-05-26-AsmSideEffect.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
// Radar 8026855
Modified: cfe/trunk/test/CodeGen/altivec.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/altivec.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/altivec.c (original)
+++ cfe/trunk/test/CodeGen/altivec.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 -faltivec -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
// Check initialization
Modified: cfe/trunk/test/CodeGen/arm-aapcs-vfp.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-aapcs-vfp.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-aapcs-vfp.c (original)
+++ cfe/trunk/test/CodeGen/arm-aapcs-vfp.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple thumbv7-apple-darwin9 \
// RUN: -target-abi aapcs \
// RUN: -target-cpu cortex-a8 \
Modified: cfe/trunk/test/CodeGen/arm-aapcs-zerolength-bitfield.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-aapcs-zerolength-bitfield.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-aapcs-zerolength-bitfield.c (original)
+++ cfe/trunk/test/CodeGen/arm-aapcs-zerolength-bitfield.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -target-abi aapcs -triple armv7-apple-darwin10 %s -verify
#include <stddef.h>
Modified: cfe/trunk/test/CodeGen/arm-apcs-zerolength-bitfield.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-apcs-zerolength-bitfield.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-apcs-zerolength-bitfield.c (original)
+++ cfe/trunk/test/CodeGen/arm-apcs-zerolength-bitfield.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -target-abi apcs-gnu -triple armv7-apple-darwin10 %s -verify
//
// Note: gcc forces the alignment to 4 bytes, regardless of the type of the
Modified: cfe/trunk/test/CodeGen/arm-arguments.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-arguments.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-arguments.c (original)
+++ cfe/trunk/test/CodeGen/arm-arguments.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi apcs-gnu -emit-llvm -w -o - %s | FileCheck -check-prefix=APCS-GNU %s
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi aapcs -emit-llvm -w -o - %s | FileCheck -check-prefix=AAPCS %s
Modified: cfe/trunk/test/CodeGen/arm-asm-variable.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-asm-variable.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-asm-variable.c (original)
+++ cfe/trunk/test/CodeGen/arm-asm-variable.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
typedef long long int64_t;
Modified: cfe/trunk/test/CodeGen/arm-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-asm.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-asm.c (original)
+++ cfe/trunk/test/CodeGen/arm-asm.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple thumb %s -emit-llvm -o - | FileCheck %s
int t1() {
static float k = 1.0f;
Modified: cfe/trunk/test/CodeGen/arm-cc.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-cc.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-cc.c (original)
+++ cfe/trunk/test/CodeGen/arm-cc.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi apcs-gnu -emit-llvm -w -o - %s | FileCheck -check-prefix=DARWIN-APCS %s
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -target-abi aapcs -emit-llvm -w -o - %s | FileCheck -check-prefix=DARWIN-AAPCS %s
// RUN: %clang_cc1 -triple arm-none-linux-gnueabi -target-abi apcs-gnu -emit-llvm -w -o - %s | FileCheck -check-prefix=LINUX-APCS %s
Modified: cfe/trunk/test/CodeGen/arm-clear.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-clear.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-clear.c (original)
+++ cfe/trunk/test/CodeGen/arm-clear.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
void clear0(void *ptr) {
Modified: cfe/trunk/test/CodeGen/arm-homogenous.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-homogenous.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-homogenous.c (original)
+++ cfe/trunk/test/CodeGen/arm-homogenous.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7---eabi -target-abi aapcs -mfloat-abi hard -emit-llvm %s -o - | FileCheck %s
typedef long long int64_t;
@@ -157,4 +158,4 @@
// FIXME: Tests necessary:
// - Vectors
-// - C++ stuff
\ No newline at end of file
+// - C++ stuff
Modified: cfe/trunk/test/CodeGen/arm-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-inline-asm.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/arm-inline-asm.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7-apple-darwin9 -emit-llvm -w -o - %s | FileCheck %s
void t1 (void *f, int g) {
Modified: cfe/trunk/test/CodeGen/arm-pcs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-pcs.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-pcs.c (original)
+++ cfe/trunk/test/CodeGen/arm-pcs.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple arm-none-linux-gnueabi -emit-llvm -w -o - < %s | FileCheck %s
typedef int __attribute__((pcs("aapcs"))) (*aapcs_fn)(void);
typedef int __attribute__((pcs("aapcs-vfp"))) (*aapcs_vfp_fn)(void);
Modified: cfe/trunk/test/CodeGen/arm-vaarg-align.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-vaarg-align.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-vaarg-align.c (original)
+++ cfe/trunk/test/CodeGen/arm-vaarg-align.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple arm -target-abi aapcs %s -emit-llvm -o - | FileCheck -check-prefix=AAPCS %s
// RUN: %clang_cc1 -triple arm -target-abi apcs-gnu %s -emit-llvm -o - | FileCheck -check-prefix=APCS-GNU %s
/*
Modified: cfe/trunk/test/CodeGen/arm-vector-align.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-vector-align.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-vector-align.c (original)
+++ cfe/trunk/test/CodeGen/arm-vector-align.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple thumbv7-apple-darwin \
// RUN: -target-abi apcs-gnu \
// RUN: -target-cpu cortex-a8 \
Modified: cfe/trunk/test/CodeGen/arm-vector-arguments.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/arm-vector-arguments.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/arm-vector-arguments.c (original)
+++ cfe/trunk/test/CodeGen/arm-vector-arguments.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple thumbv7-apple-darwin9 \
// RUN: -target-abi apcs-gnu \
// RUN: -target-cpu cortex-a8 \
Modified: cfe/trunk/test/CodeGen/asm_arm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/asm_arm.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/asm_arm.c (original)
+++ cfe/trunk/test/CodeGen/asm_arm.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv6-unknown-unknown -emit-llvm -o - %s | FileCheck %s
void test0(void) {
Modified: cfe/trunk/test/CodeGen/bool_test.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/bool_test.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/bool_test.c (original)
+++ cfe/trunk/test/CodeGen/bool_test.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 -triple powerpc-apple-darwin -emit-llvm -o - %s| FileCheck -check-prefix=DARWINPPC-CHECK %s
int boolsize = sizeof(_Bool);
Modified: cfe/trunk/test/CodeGen/builtin-attributes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtin-attributes.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtin-attributes.c (original)
+++ cfe/trunk/test/CodeGen/builtin-attributes.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple arm-unknown-linux-gnueabi -emit-llvm -o - %s | FileCheck %s
// CHECK: declare i32 @printf(i8*, ...)
Modified: cfe/trunk/test/CodeGen/builtins-arm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-arm.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-arm.c (original)
+++ cfe/trunk/test/CodeGen/builtins-arm.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -Wall -Werror -triple thumbv7-eabi -target-cpu cortex-a8 -O3 -emit-llvm -o - %s | FileCheck %s
void *f0()
Modified: cfe/trunk/test/CodeGen/builtins-mips-args.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-mips-args.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-mips-args.c (original)
+++ cfe/trunk/test/CodeGen/builtins-mips-args.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: mips-registered-target
// RUN: %clang_cc1 -triple mips-unknown-linux-gnu -fsyntax-only -verify %s
void foo() {
Modified: cfe/trunk/test/CodeGen/builtins-mips.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-mips.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-mips.c (original)
+++ cfe/trunk/test/CodeGen/builtins-mips.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: mips-registered-target
// RUN: %clang_cc1 -triple mips-unknown-linux-gnu -emit-llvm -o %t %s
// RUN: not grep __builtin %t
Modified: cfe/trunk/test/CodeGen/builtins-ppc-altivec.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/builtins-ppc-altivec.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/builtins-ppc-altivec.c (original)
+++ cfe/trunk/test/CodeGen/builtins-ppc-altivec.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 -faltivec -triple powerpc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
vector bool char vbc = { 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0 };
Modified: cfe/trunk/test/CodeGen/fp16-ops.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/fp16-ops.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/fp16-ops.c (original)
+++ cfe/trunk/test/CodeGen/fp16-ops.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -emit-llvm -o - -triple arm-none-linux-gnueabi %s | FileCheck %s
typedef unsigned cond_t;
Modified: cfe/trunk/test/CodeGen/no-common.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/no-common.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/no-common.c (original)
+++ cfe/trunk/test/CodeGen/no-common.c Mon Jul 9 13:34:21 2012
@@ -12,4 +12,4 @@
// CHECK-DEFAULT: @y = common global
// CHECK-NOCOMMON: @y = common global
-int y __attribute__((common));
\ No newline at end of file
+int y __attribute__((common));
Modified: cfe/trunk/test/CodeGen/powerpc_types.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/powerpc_types.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/powerpc_types.c (original)
+++ cfe/trunk/test/CodeGen/powerpc_types.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target
// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s
#include <stdarg.h>
Modified: cfe/trunk/test/CodeGen/pr5406.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/pr5406.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/pr5406.c (original)
+++ cfe/trunk/test/CodeGen/pr5406.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
// PR 5406
Modified: cfe/trunk/test/CodeGen/struct-init.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/struct-init.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/struct-init.c (original)
+++ cfe/trunk/test/CodeGen/struct-init.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -S -triple armv7-apple-darwin %s -emit-llvm -o - | FileCheck %s
typedef struct _zend_ini_entry zend_ini_entry;
Modified: cfe/trunk/test/CodeGen/struct-matching-constraint.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/struct-matching-constraint.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/struct-matching-constraint.c (original)
+++ cfe/trunk/test/CodeGen/struct-matching-constraint.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -S -emit-llvm -triple armv7a-apple-darwin %s -o /dev/null
typedef unsigned short uint16_t;
typedef __attribute__((neon_vector_type(8))) uint16_t uint16x8_t;
Modified: cfe/trunk/test/CodeGen/vld_dup.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/vld_dup.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/vld_dup.c (original)
+++ cfe/trunk/test/CodeGen/vld_dup.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: arm-registered-target
// RUN: %clang_cc1 -triple armv7a-linux-gnueabi \
// RUN: -target-cpu cortex-a8 \
// RUN: -emit-llvm -O0 -o - %s | FileCheck %s
Modified: cfe/trunk/test/Driver/mips-features.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-features.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mips-features.c (original)
+++ cfe/trunk/test/Driver/mips-features.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,5 @@
+// REQUIRES: mips-registered-target
+//
// Check handling MIPS specific features options.
//
// -mips16
Modified: cfe/trunk/test/Driver/mips-float.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/mips-float.c?rev=159949&r1=159948&r2=159949&view=diff
==============================================================================
--- cfe/trunk/test/Driver/mips-float.c (original)
+++ cfe/trunk/test/Driver/mips-float.c Mon Jul 9 13:34:21 2012
@@ -1,3 +1,4 @@
+// REQUIRES: mips-registered-target
// Check handling -mhard-float / -msoft-float / -mfloat-abi options
// when build for MIPS platforms.
//
More information about the cfe-commits
mailing list