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
/
CodeGen
/
2007-04-24-VolatileStructCopy.c
blob
5eeecce99d2954c71c4b5b84527623a8fcc20275
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
// PR1352
3
4
struct
foo
{
5
int
x
;
6
};
7
8
void
copy
(
volatile
struct
foo
*
p
,
struct
foo
*
q
) {
9
// CHECK: call void @llvm.memcpy
10
*
p
= *
q
;
11
}