blob: ed5e5269525bff45af55d6d81f0d22945079035d [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=systemz | grep ngr | count 3
2; RUN: llc < %s -march=systemz | grep nihf | count 1
Anton Korobeynikovaee75f32009-07-16 13:42:31 +00003
4define i32 @foo(i32 %a, i32 %b) {
5entry:
6 %c = and i32 %a, %b
7 ret i32 %c
8}
9
10define i32 @foo1(i32 %a, i32 %b) zeroext {
11entry:
12 %c = and i32 %a, %b
13 ret i32 %c
14}
15
16define i32 @foo2(i32 %a, i32 %b) signext {
17entry:
18 %c = and i32 %a, %b
19 ret i32 %c
20}
21