mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-14 13:07:31 +00:00
53a66d10f0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47296 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
322 B
LLVM
9 lines
322 B
LLVM
; RUN: llvm-as < %s | llc -march=c
|
|
|
|
global i32* bitcast (float* @2 to i32*) ;; Forward numeric reference
|
|
global float* @2 ;; Duplicate forward numeric reference
|
|
global float 0.0
|
|
|
|
@array = constant [2 x i32] [ i32 12, i32 52 ]
|
|
@arrayPtr = global i32* getelementptr ([2 x i32]* @array, i64 0, i64 0)
|