brintos

brintos / llvm-project-archived public Read only

0
0
Text · 896 B · 35a1498 Raw
20 lines · c
1// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s2// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s3// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s4// RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s5 6#ifdef HTM_HEADER7#include <htmintrin.h>8#endif9 10#ifdef HTMXL_HEADER11#include <htmxlintrin.h>12#endif13 14// Verify that simply including the headers does not generate any code15// (i.e. all inline routines in the header are marked "static")16 17// CHECK: target triple = "powerpc6418// CHECK-NEXT: {{^$}}19// CHECK-NEXT: {{llvm\..*}}20