projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fabs.ll
1
; Make sure this testcase codegens to the fabs instruction, not a call to fabsf
2
; RUN: llvm-as < %s | llc -disable-pattern-isel=0 | grep 'fabs$'
3
4
declare float %fabsf(float)
5
6
float %fabsftest(float %X) {
7
%Y = call float %fabsf(float %X)
8
ret float %Y
9
}
10