You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
406 B
12 lines
406 B
4 months ago
|
// RUN: %clang_cc1 %s -triple spir -cl-std=clc++ -emit-llvm -O0 -o - | FileCheck %s
|
||
|
|
||
|
struct S {
|
||
|
S() {}
|
||
|
};
|
||
|
|
||
|
S s;
|
||
|
|
||
|
//CHECK: define internal spir_kernel void @_GLOBAL__sub_I_{{.*}}!kernel_arg_addr_space [[ARGMD:![0-9]+]] !kernel_arg_access_qual [[ARGMD]] !kernel_arg_type [[ARGMD]] !kernel_arg_base_type [[ARGMD]] !kernel_arg_type_qual [[ARGMD]]
|
||
|
// Check that parameters are empty.
|
||
|
//CHECK: [[ARGMD]] = !{}
|