mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
17 lines
338 B
LLVM
17 lines
338 B
LLVM
|
; RUN: llc -mtriple=thumbv7-windows -filetype asm -o - %s | FileCheck %s
|
||
|
|
||
|
@i = internal global i32 0, align 4
|
||
|
|
||
|
; Function Attrs: minsize
|
||
|
define arm_aapcs_vfpcc i32* @function() #0 {
|
||
|
entry:
|
||
|
ret i32* @i
|
||
|
}
|
||
|
|
||
|
attributes #0 = { minsize }
|
||
|
|
||
|
; CHECK: function:
|
||
|
; CHECK: movw r0, :lower16:i
|
||
|
; CHECK: movt r0, :upper16:i
|
||
|
; CHECK: bx lr
|