llvm-project/llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll

8 lines
184 B
LLVM

; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep 1065353216
define i32 @test() {
%A = bitcast float 1.000000e+00 to i32 ; <i32> [#uses=1]
ret i32 %A
}