repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix edge cases in handling basic block split.
[llvm-complete.git]
/
test
/
CodeGen
/
PowerPC
/
fnabs.ll
blob
5d0ef5f66d217d289b050352a013821cad6e7d65
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
}