Sign in
llvm
/
llvm-project
/
llvm
/
b72b4128f221fd5086a1ae46aba7b2fcbf0d6384
/
.
/
test
/
Transforms
/
InstCombine
/
2008-01-27-FloatSelect.ll
blob: 0db638aa5bc4f3a054bb7418a66fc01b8897b065 [
file
] [
log
] [
blame
]
; RUN: opt < %s -passes=instcombine -S | FileCheck %s
; CHECK: select
define
double
@fold
(
i1
%a
,
double
%b
)
{
%s
=
select
i1
%a
,
double
0
.
,
double
1
.
%c
=
fdiv
double
%b
,
%s
ret
double
%c
}