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
[AArch64] Add fpext and fpround costs (#119292)
[llvm-project.git]
/
llvm
/
test
/
tools
/
llvm-cov
/
Inputs
/
multithreaded_report
/
abs.h
blob
41eb2b06c0fa046f67ef69e6ae88d49aaf6fc8bd
1
template
<
typename T
>
2
T
abs
(
T x
) {
3
if
(
x
<
0
) {
4
return
-
x
;
5
}
6
return
x
;
7
}