mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 07:32:48 +00:00
9 lines
137 B
LLVM
9 lines
137 B
LLVM
|
; RUN: llvm-as < %s | llc -march=systemz | grep lcr | count 1
|
||
|
|
||
|
define i32 @foo(i32 %a) {
|
||
|
entry:
|
||
|
%c = sub i32 0, %a
|
||
|
ret i32 %c
|
||
|
}
|
||
|
|