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
[flang] Don't needlessly instantiate distinct UNSIGNED cases for FINDLOC (#120471)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
uint128_t.c
blob
4a11eca9d5e4208acd3884f82c13f9d1e47b8e96
1
// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9
2
// RUN: %clang_cc1 %s -emit-llvm -o - -triple=powerpc64-ibm-aix-xcoff
3
4
typedef
unsigned long long uint64_t
;
5
extern
uint64_t
numer
;
6
extern
uint64_t
denom
;
7
8
uint64_t
9
f
(
uint64_t
val
)
10
{
11
__uint128_t tmp
;
12
13
tmp
=
val
;
14
tmp
*=
numer
;
15
tmp
/=
denom
;
16
17
return
tmp
;
18
}
19