llvm-6502/test/CodeGen/SystemZ/02-RetAndImm.ll
Anton Korobeynikov e6220fb230 Add reg-reg and pattern
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75917 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-16 13:32:49 +00:00

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.