1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 21:42:54 +02:00
llvm-mirror/test/CodeGen/SystemZ/03-RetAndSubreg.ll
2009-07-16 14:05:32 +00:00

21 lines
330 B
LLVM

; RUN: llvm-as < %s | llc -march=systemz | grep ngr | count 4
define i32 @foo(i32 %a, i32 %b) {
entry:
%c = and i32 %a, %b
ret i32 %c
}
define i32 @foo1(i32 %a, i32 %b) zeroext {
entry:
%c = and i32 %a, %b
ret i32 %c
}
define i32 @foo2(i32 %a, i32 %b) signext {
entry:
%c = and i32 %a, %b
ret i32 %c
}