blob: 32673dd014c5046c71a3a0bea1e62cb787de266b [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=systemz | grep ngr | count 6
Anton Korobeynikova51752c2009-07-16 13:42:31 +00002
3define i32 @foo1(i32 %a, i32 %b) {
4entry:
5 %c = and i32 %a, 1
6 ret i32 %c
7}
8
9define i32 @foo2(i32 %a, i32 %b) {
10entry:
11 %c = and i32 %a, 131072
12 ret i32 %c
13}
14
15define i32 @foo3(i32 %a, i32 %b) zeroext {
16entry:
17 %c = and i32 %a, 1
18 ret i32 %c
19}
20
21define i32 @foo4(i32 %a, i32 %b) signext {
22entry:
23 %c = and i32 %a, 131072
24 ret i32 %c
25}
26
27define i32 @foo5(i32 %a, i32 %b) zeroext {
28entry:
29 %c = and i32 %a, 1
30 ret i32 %c
31}
32
33define i32 @foo6(i32 %a, i32 %b) signext {
34entry:
35 %c = and i32 %a, 131072
36 ret i32 %c
37}
38