brintos

brintos / llvm-project-archived public Read only

0
0
Text · 801 B · 67aee4b Raw
14 lines · c
1// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -flax-vector-conversions=none -o - %s | FileCheck %s3// RUN: %clang_cc1 -std=c89 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -o - %s | FileCheck %s4// RUN: %clang_cc1 -triple powerpc64-unknown-unknown -target-feature +altivec -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s5 6#include <altivec.h>7 8// Verify that simply including <altivec.h> does not generate any code9// (i.e. all inline routines in the header are marked "static")10 11// CHECK: target triple = "powerpc64-12// CHECK-NEXT: {{^$}}13// CHECK-NEXT: {{llvm\..*}}14