You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
329 B
12 lines
329 B
4 months ago
|
; 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
|
||
|
; CHECK: bitcast (
|
||
|
|
||
|
@G = external global i32
|
||
|
|
||
|
define float @tryit(i32 %A) {
|
||
|
ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
|
||
|
}
|