1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
Reid Spencer 6041863fff For PR1319: Upgrade to new test harness
llvm-svn: 36069
2007-04-15 10:11:13 +00:00

11 lines
301 B
LLVM

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