mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +00:00
12 lines
273 B
LLVM
12 lines
273 B
LLVM
|
; Make sure this testcase codegens to the bic instruction
|
||
|
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
|
||
|
|
||
|
implementation ; Functions:
|
||
|
|
||
|
ushort %foo(long %y) {
|
||
|
entry:
|
||
|
%tmp.1 = cast long %y to ushort ; <ushort> [#uses=1]
|
||
|
ret ushort %tmp.1
|
||
|
}
|
||
|
|