llvm-for-llvmta/tools/clang/test/CodeGen/intel_ocl_bicc.c

12 lines
327 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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()