2015-04-03 09:27:02 +08:00
|
|
|
// 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
|
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")
|
|
|
|
|
2015-04-03 09:27:02 +08:00
|
|
|
// CHECK: target triple = "powerpc64-
|
2014-03-06 04:08:57 +08:00
|
|
|
// CHECK-NEXT: {{^$}}
|
2015-04-03 09:27:02 +08:00
|
|
|
// CHECK-NEXT: llvm.ident
|