blob: 9c238db17a8383b23e9bfb8e0574c980e3d5a09f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression.
; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder < %s -preserve-bc-use-list-order
; CHECK: bitcast (
@G = external global i32
define float @tryit(i32 %A) {
ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
}
|