projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Testcase from PR 1508 (although its's somewhat
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
fnegsel.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep fneg
2
3
double %test_FNEG_sel(double %A, double %B, double %C) {
4
%D = sub double -0.0, %A
5
%Cond = setgt double %D, -0.0
6
%E = select bool %Cond, double %B, double %C
7
ret double %E
8
}