mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
10 lines
291 B
LLVM
10 lines
291 B
LLVM
|
; RUN: llvm-as < %s | llc -march=bfin -verify-machineinstrs
|
||
|
@i216_l = external global i216 ; <i216*> [#uses=1]
|
||
|
@i216_s = external global i216 ; <i216*> [#uses=1]
|
||
|
|
||
|
define void @i216_ls() nounwind {
|
||
|
%tmp = load i216* @i216_l ; <i216> [#uses=1]
|
||
|
store i216 %tmp, i216* @i216_s
|
||
|
ret void
|
||
|
}
|