llvm-6502/test/Transforms/ConstProp/2007-02-05-BitCast.ll
Chris Lattner 37d94b42a7 Testcase for miscompilation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33947 91177308-0d34-0410-b5e6-96231b3b80d8
2007-02-06 02:22:37 +00:00

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
}