repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-01-27-FloatSelect.ll
blob
6b4e89dbbe6051ec1903f3a15882c7c964ca263d
1
; RUN: opt < %s -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
}