2012-12-25 16:53:55 +08:00
|
|
|
// RUN: %clang_cc1 -triple i386-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
2013-01-10 18:41:05 +08:00
|
|
|
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | FileCheck %s
|
2012-12-25 16:53:55 +08:00
|
|
|
|
|
|
|
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()
|