mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 21:42:54 +02:00
581a82e0bb
llvm-svn: 40488
11 lines
301 B
LLVM
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)
|
|
}
|