llvm-mirror/test/CodeGen/Generic/bool-to-double.ll
Tanya Lattner aeb9bb8ba4 Remove llvm-upgrade and update tests.
llvm-svn: 47296
2008-02-19 01:41:04 +00:00

7 lines
149 B
LLVM

; RUN: llvm-as < %s | llc
define double @test(i1 %X) {
%Y = uitofp i1 %X to double ; <double> [#uses=1]
ret double %Y
}