1*5ba576ffSEric Christopher // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s 2*5ba576ffSEric Christopher // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTM_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s 3*5ba576ffSEric Christopher // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -o - %s | FileCheck %s 4*5ba576ffSEric Christopher // RUN: %clang_cc1 -triple powerpc64le-unknown-unknown -target-feature +htm -DHTMXL_HEADER -ffreestanding -emit-llvm -x c++ -o - %s | FileCheck %s 5*5ba576ffSEric Christopher 6*5ba576ffSEric Christopher #ifdef HTM_HEADER 7*5ba576ffSEric Christopher #include <htmintrin.h> 8*5ba576ffSEric Christopher #endif 9*5ba576ffSEric Christopher 10*5ba576ffSEric Christopher #ifdef HTMXL_HEADER 11*5ba576ffSEric Christopher #include <htmxlintrin.h> 12*5ba576ffSEric Christopher #endif 13*5ba576ffSEric Christopher 14*5ba576ffSEric Christopher // Verify that simply including the headers does not generate any code 15*5ba576ffSEric Christopher // (i.e. all inline routines in the header are marked "static") 16*5ba576ffSEric Christopher 17*5ba576ffSEric Christopher // CHECK: target triple = "powerpc64 18*5ba576ffSEric Christopher // CHECK-NEXT: {{^$}} 19*5ba576ffSEric Christopher // CHECK-NEXT: {{llvm\..*}} 20