mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-12-06 05:31:44 +00:00
7 lines
149 B
LLVM
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
|
|
}
|
|
|