llvm.org GIT mirror llvm / release_22 test / Transforms / ConstProp / 2007-02-05-BitCast.ll
release_22

Tree @release_22 (Download .tar.gz)

2007-02-05-BitCast.ll @release_22raw · history · blame

1
2
3
4
5
6
; 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
}