projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Some code clean up.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-01-27-FloatSelect.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep select
2
3
define double @fold(i1 %a, double %b) {
4
%s = select i1 %a, double 0., double 1.
5
%c = fdiv double %b, %s
6
ret double %c
7
}