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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2003-11-26-PointerShift.c
blob
530759eb0c108c47243c885cc471d7c09653b569
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
unsigned long
do_csum
(
const unsigned char
*
buff
,
int
len
,
unsigned long
result
) {
4
if
(
2
& (
unsigned long
)
buff
)
result
+=
1
;
5
return
result
;
6
}