[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / Generic / bool-to-double.ll
1 ; RUN: llc < %s
2 define double @test(i1 %X) {
3         %Y = uitofp i1 %X to double             ; <double> [#uses=1]
4         ret double %Y
5 }
6