Home | History | Annotate | Download | only in SystemZ
      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 
      6 define i64 @foo1(i64 %a, i64 %b) {
      7 entry:
      8     %c = and i64 %a, 1
      9     ret i64 %c
     10 }
     11 
     12 define i64 @foo2(i64 %a, i64 %b) {
     13 entry:
     14     %c = and i64 %a, 131072
     15     ret i64 %c
     16 }
     17 
     18 define i64 @foo3(i64 %a, i64 %b) {
     19 entry:
     20     %c = and i64 %a, 8589934592
     21     ret i64 %c
     22 }
     23 
     24 define i64 @foo4(i64 %a, i64 %b) {
     25 entry:
     26     %c = and i64 %a, 562949953421312
     27     ret i64 %c
     28 }
     29