• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=systemz | grep ngr  | count 6
2
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 zeroext i32 @foo3(i32 %a, i32 %b)  {
16entry:
17    %c = and i32 %a, 1
18    ret i32 %c
19}
20
21define signext i32 @foo4(i32 %a, i32 %b)  {
22entry:
23    %c = and i32 %a, 131072
24    ret i32 %c
25}
26
27define zeroext i32 @foo5(i32 %a, i32 %b)  {
28entry:
29    %c = and i32 %a, 1
30    ret i32 %c
31}
32
33define signext i32 @foo6(i32 %a, i32 %b)  {
34entry:
35    %c = and i32 %a, 131072
36    ret i32 %c
37}
38
39