2013-12-04 11:41:15 +08:00
|
|
|
// REQUIRES: powerpc-registered-target
|
2013-08-03 04:16:22 +08:00
|
|
|
// 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
|
2012-11-01 02:17:07 +08:00
|
|
|
|
|
|
|
#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")
|
|
|
|
|
2014-03-06 04:08:57 +08:00
|
|
|
// CHECK: .text
|
|
|
|
// CHECK-NEXT: .file
|
|
|
|
// CHECK-NEXT: {{^$}}
|
|
|
|
// CHECK-NEXT: .ident{{.*$}}
|
2014-10-15 23:44:25 +08:00
|
|
|
// CHECK-NEXT: .section ".note.GNU-stack","",@progbits
|
2014-03-06 04:08:57 +08:00
|
|
|
// CHECK-NOT: .
|