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
[rtsan] Remove mkfifoat interceptor (#116997)
[llvm-project.git]
/
libclc
/
clc
/
lib
/
generic
/
shared
/
clc_max.inc
blob
f4234cb359d86e95d1ca71a79975759c25eabb46
1
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __clc_max(__CLC_GENTYPE a,
2
__CLC_GENTYPE b) {
3
return (a > b ? a : b);
4
}
5
6
#ifndef __CLC_SCALAR
7
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __clc_max(__CLC_GENTYPE a,
8
__CLC_SCALAR_GENTYPE b) {
9
return (a > (__CLC_GENTYPE)b ? a : (__CLC_GENTYPE)b);
10
}
11
#endif