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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenOpenCL
/
memcpy.cl
blob
06362fffadcd0de5d7219b4db319e4d8c92a22de
1
//
RUN
:
%clang_cc1 %s -ffake-address-space-map -emit-llvm -o - | FileCheck %s
2
3
//
CHECK-LABEL
: @
test
4
//
CHECK-NOT
:
addrspacecast
5
//
CHECK
:
call void
@
llvm.memcpy.p1.p2
6
kernel void test
(
global
float
*
g
,
constant float
*
c
) {
7
__builtin_memcpy
(
g
,
c
,
32
)
;
8
}