[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / CodeGenHipStdPar / unsupported-builtins.cpp
blob02355eca2672ebf295526093511df2720487f39a
1 // RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu \
2 // RUN: --hipstdpar -x hip -emit-llvm -fcuda-is-device -o - %s | FileCheck %s
4 #define __global__ __attribute__((global))
6 __global__ void foo() { return __builtin_ia32_pause(); }
8 // CHECK: declare void @__builtin_ia32_pause__hipstdpar_unsupported()