Michael Gottesman | 724e65b | 2012-10-31 20:20:04 +0000 | [diff] [blame] | 1 | // REQUIRES: ppc64-registered-target |
Hans Wennborg | 4ed47cc | 2013-08-02 20:16:22 +0000 | [diff] [blame] | 2 | // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -S -o - %s | FileCheck %s |
| 3 | // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -fno-lax-vector-conversions -S -o - %s | FileCheck %s |
| 4 | // RUN: %clang_cc1 -triple powerpc64-unknown-unknown -faltivec -ffreestanding -x c++ -S -o - %s | FileCheck %s |
Ulrich Weigand | 60c158a | 2012-10-31 18:17:07 +0000 | [diff] [blame] | 5 | |
| 6 | #include <altivec.h> |
| 7 | |
| 8 | // Verify that simply including <altivec.h> does not generate any code |
| 9 | // (i.e. all inline routines in the header are marked "static") |
| 10 | |
| 11 | // CHECK-NOT: .text |
| 12 | |