mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-13 06:25:02 +00:00
e6220fb230
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75917 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
208 B
LLVM
9 lines
208 B
LLVM
; RUN: llvm-as < %s | llc
|
|
define i64 @foo(i64 %a, i64 %b) {
|
|
entry:
|
|
%c = and i64 %a, 1
|
|
ret i64 %c
|
|
}
|
|
|
|
; FIXME: SystemZ has 4 and reg-imm instructions depending on imm,
|
|
; we need to support them someday. |