1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Bitcode/2006-12-11-Cast-ConstExpr.ll
Chris Lattner 1ce2265908 fix this test.
llvm-svn: 47232
2008-02-17 00:15:25 +00:00

11 lines
293 B
LLVM

; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression.
; RUN: llvm-as < %s | llvm-dis | \
; RUN: grep {bitcast (}
@G = external global i32
define float @tryit(i32 %A) {
ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
}