diff options
Diffstat (limited to 'test/CodeGen/intel_ocl_bicc.c')
-rw-r--r-- | test/CodeGen/intel_ocl_bicc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/intel_ocl_bicc.c b/test/CodeGen/intel_ocl_bicc.c new file mode 100644 index 0000000..c5c5229 --- /dev/null +++ b/test/CodeGen/intel_ocl_bicc.c @@ -0,0 +1,11 @@ +// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s + +void __attribute__((intel_ocl_bicc)) f1(void); + +void f2(void) { + f1(); +// CHECK: call intel_ocl_bicc void @f1() +} + +// CHECK: declare intel_ocl_bicc void @f1() |