mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
9 lines
194 B
LLVM
9 lines
194 B
LLVM
|
; RUN: llvm-as < %s | llc -march=x86 &&
|
||
|
; RUN: llvm-as < %s | llc -march=x86 | not grep add
|
||
|
bool %X(int %X) {
|
||
|
%Y = add int %X, 14
|
||
|
%Z = setne int %Y, 12345
|
||
|
ret bool %Z
|
||
|
}
|
||
|
|