mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-11 23:05:31 +00:00
20ef3439db
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132237 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
297 B
LLVM
11 lines
297 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 | FileCheck %s
|
|
; CHECK: bitcast (
|
|
|
|
@G = external global i32
|
|
|
|
define float @tryit(i32 %A) {
|
|
ret float bitcast( i32 ptrtoint (i32* @G to i32) to float)
|
|
}
|