diff options
Diffstat (limited to 'test/Headers/altivec-header.c')
-rw-r--r-- | test/Headers/altivec-header.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/Headers/altivec-header.c b/test/Headers/altivec-header.c index 7b6c5168b01e..0ea9e2b52d4c 100644 --- a/test/Headers/altivec-header.c +++ b/test/Headers/altivec-header.c @@ -1,16 +1,12 @@ -// REQUIRES: powerpc-registered-target -// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s -// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s -// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -fno-lax-vector-conversions -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s #include <altivec.h> // Verify that simply including <altivec.h> does not generate any code // (i.e. all inline routines in the header are marked "static") -// CHECK: .text -// CHECK-NEXT: .file +// CHECK: target triple = "powerpc64- // CHECK-NEXT: {{^$}} -// CHECK-NEXT: .ident{{.*$}} -// CHECK-NEXT: .section ".note.GNU-stack","",@progbits -// CHECK-NOT: . +// CHECK-NEXT: llvm.ident |