mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
8 lines
312 B
LLVM
8 lines
312 B
LLVM
|
global int* cast (float* %0 to int*) ;; Forward numeric reference
|
||
|
global float* %0 ;; Duplicate forward numeric reference
|
||
|
global float 0.0
|
||
|
|
||
|
%array = constant [2 x int] [ int 12, int 52 ]
|
||
|
%arrayPtr = global int* getelementptr ([2 x int]* %array, uint 0, uint 0) ;; int* &%array[0][0]
|
||
|
|