mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +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
|
||
|
}
|