bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Generic/bool-to-double.ll

7 lines
139 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llc < %s
define double @test(i1 %X) {
%Y = uitofp i1 %X to double ; <double> [#uses=1]
ret double %Y
}