Home | History | Annotate | Download | only in SystemZ
      1 ; RUN: llc < %s -march=systemz | grep ngr  | count 6
      2 
      3 define i32 @foo1(i32 %a, i32 %b) {
      4 entry:
      5     %c = and i32 %a, 1
      6     ret i32 %c
      7 }
      8 
      9 define i32 @foo2(i32 %a, i32 %b) {
     10 entry:
     11     %c = and i32 %a, 131072
     12     ret i32 %c
     13 }
     14 
     15 define zeroext i32 @foo3(i32 %a, i32 %b)  {
     16 entry:
     17     %c = and i32 %a, 1
     18     ret i32 %c
     19 }
     20 
     21 define signext i32 @foo4(i32 %a, i32 %b)  {
     22 entry:
     23     %c = and i32 %a, 131072
     24     ret i32 %c
     25 }
     26 
     27 define zeroext i32 @foo5(i32 %a, i32 %b)  {
     28 entry:
     29     %c = and i32 %a, 1
     30     ret i32 %c
     31 }
     32 
     33 define signext i32 @foo6(i32 %a, i32 %b)  {
     34 entry:
     35     %c = and i32 %a, 131072
     36     ret i32 %c
     37 }
     38 
     39