mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
10 lines
265 B
LLVM
10 lines
265 B
LLVM
|
; RUN: llvm-as < %s | llc -march=thumb -mtriple=arm-apple-darwin \
|
||
|
; RUN: -disable-fp-elim | not grep {r11}
|
||
|
; RUN: llvm-as < %s | llc -march=thumb -mtriple=arm-linux-gnueabi \
|
||
|
; RUN: -disable-fp-elim | not grep {r11}
|
||
|
|
||
|
define i32 @f() {
|
||
|
entry:
|
||
|
ret i32 10
|
||
|
}
|