projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase for PR1811
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
fnabs.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep fnabs
2
3
declare double %fabs(double)
4
5
implementation
6
7
double %test(double %X) {
8
%Y = call double %fabs(double %X)
9
%Z = sub double -0.0, %Y
10
ret double %Z
11
}