llvm-6502/test/CodeGen/SystemZ/02-RetOrImm.ll

9 lines
221 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=systemz
define i64 @foo(i64 %a, i64 %b) {
entry:
%c = or i64 %a, 1
ret i64 %c
}
; FIXME: SystemZ has 4 or reg-imm instructions depending on imm,
; we need to support them someday.