2020-01-21 08:34:09 +08:00
|
|
|
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -o - %s | FileCheck %s
|
2019-09-13 14:02:15 +08:00
|
|
|
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -flax-vector-conversions=none -o - %s | FileCheck %s
|
2017-03-22 06:06:18 +08:00
|
|
|
// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -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: {{^$}}
|
2017-03-18 08:43:39 +08:00
|
|
|
// CHECK-NEXT: {{llvm\..*}}
|