repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
CodeGenOpenCL
/
event_t.cl
blob
bb1041402b203c090d09c6ba999ebad800151157
1
//
RUN
:
%clang_cc1 %s -emit-llvm -o - -O0 | FileCheck %s
2
3
void foo
(
event_t
evt
)
;
4
5
void kernel ker
() {
6
event_t e
;
7
//
CHECK
:
alloca ptr
,
8
foo
(
e
)
;
9
//
CHECK
:
call
{{
.
*}}
void
@
foo
(
ptr
%
10
foo
(
0
)
;
11
//
CHECK
:
call
{{
.
*}}
void
@
foo
(
ptr
null
)
12
foo
((
event_t
)
0
)
;
13
//
CHECK
:
call
{{
.
*}}
void
@
foo
(
ptr
null
)
14
}