mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-03 02:30:00 +00:00
14 lines
192 B
LLVM
14 lines
192 B
LLVM
|
; RUN: llvm-as < %s | llc -march=thumb
|
||
|
; RUN: llvm-as < %s | llc -march=thumb | grep add | count 1
|
||
|
|
||
|
define void @f1() {
|
||
|
%c = alloca i8, align 1
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
define i32 @f2() {
|
||
|
ret i32 1
|
||
|
}
|
||
|
|
||
|
|