repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[rtsan] Add fork/execve interceptors (#117198)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-01-27-FloatSelect.ll
blob
0db638aa5bc4f3a054bb7418a66fc01b8897b065
1
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
2
; CHECK: select
3
4
define double @fold(i1 %a, double %b) {
5
%s = select i1 %a, double 0., double 1.
6
%c = fdiv double %b, %s
7
ret double %c
8
}