mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 11:46:07 +00:00

The tests that failed on a windows host have been fixed. Original message: Start setting dso_local for COFF. With this there are still some GVs where we don't set dso_local because setGVProperties is never called. I intend to fix that in followup commits. This is just the bare minimum to teach shouldAssumeDSOLocal what it should do for COFF. llvm-svn: 325940
11 lines
369 B
Common Lisp
11 lines
369 B
Common Lisp
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
|
|
|
|
void normal_function() {
|
|
}
|
|
|
|
__kernel void kernel_function() {
|
|
}
|
|
|
|
// CHECK: define {{.*}}spir_kernel void @kernel_function() {{[^{]+}} !kernel_arg_addr_space ![[MD:[0-9]+]] !kernel_arg_access_qual ![[MD]] !kernel_arg_type ![[MD]] !kernel_arg_base_type ![[MD]] !kernel_arg_type_qual ![[MD]] {
|
|
// CHECK: ![[MD]] = !{}
|