repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
StmtPrinter: factor out arg printing code to PrintCallArgs
[clang.git]
/
test
/
CodeGen
/
uint128_t.c
blob
92cb5faba4a012304e22a4a6d5af270f0ebb9918
1
// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9
2
3
typedef
unsigned long long uint64_t
;
4
extern
uint64_t
numer
;
5
extern
uint64_t
denom
;
6
7
uint64_t
8
f
(
uint64_t
val
)
9
{
10
__uint128_t tmp
;
11
12
tmp
=
val
;
13
tmp
*=
numer
;
14
tmp
/=
denom
;
15
16
return
tmp
;
17
}
18