• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=systemz | grep ngr   | count 4
2; RUN: llc < %s -march=systemz | grep llilh | count 1
3; RUN: llc < %s -march=systemz | grep llihl | count 1
4; RUN: llc < %s -march=systemz | grep llihh | count 1
5
6define i64 @foo1(i64 %a, i64 %b) {
7entry:
8    %c = and i64 %a, 1
9    ret i64 %c
10}
11
12define i64 @foo2(i64 %a, i64 %b) {
13entry:
14    %c = and i64 %a, 131072
15    ret i64 %c
16}
17
18define i64 @foo3(i64 %a, i64 %b) {
19entry:
20    %c = and i64 %a, 8589934592
21    ret i64 %c
22}
23
24define i64 @foo4(i64 %a, i64 %b) {
25entry:
26    %c = and i64 %a, 562949953421312
27    ret i64 %c
28}
29