mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
10 lines
192 B
LLVM
10 lines
192 B
LLVM
|
; RUN: llvm-as < %s | llc -march=arm
|
||
|
; PR2589
|
||
|
|
||
|
define void @main({ i32 }*) {
|
||
|
entry:
|
||
|
%sret1 = alloca { i32 } ; <{ i32 }*> [#uses=1]
|
||
|
load { i32 }* %sret1 ; <{ i32 }>:1 [#uses=0]
|
||
|
ret void
|
||
|
}
|