Home | History | Annotate | Download | only in SystemZ
      1 ; RUN: llc < %s -march=systemz | grep oill  | count 3
      2 ; RUN: llc < %s -march=systemz | grep oilh  | count 3
      3 ; RUN: llc < %s -march=systemz | grep oilf  | count 3
      4 ; RUN: llc < %s -march=systemz | grep llgfr | count 3
      5 ; RUN: llc < %s -march=systemz | grep lgfr  | count 6
      6 
      7 define i32 @foo1(i32 %a, i32 %b) {
      8 entry:
      9     %c = or i32 %a, 1
     10     ret i32 %c
     11 }
     12 
     13 define i32 @foo2(i32 %a, i32 %b) {
     14 entry:
     15     %c = or i32 %a, 131072
     16     ret i32 %c
     17 }
     18 
     19 define i32 @foo7(i32 %a, i32 %b) {
     20 entry:
     21     %c = or i32 %a, 123456
     22     ret i32 %c
     23 }
     24 
     25 define zeroext i32 @foo3(i32 %a, i32 %b)  {
     26 entry:
     27     %c = or i32 %a, 1
     28     ret i32 %c
     29 }
     30 
     31 define zeroext i32 @foo8(i32 %a, i32 %b)  {
     32 entry:
     33     %c = or i32 %a, 123456
     34     ret i32 %c
     35 }
     36 
     37 define signext i32 @foo4(i32 %a, i32 %b)  {
     38 entry:
     39     %c = or i32 %a, 131072
     40     ret i32 %c
     41 }
     42 
     43 define zeroext i32 @foo5(i32 %a, i32 %b)  {
     44 entry:
     45     %c = or i32 %a, 1
     46     ret i32 %c
     47 }
     48 
     49 define signext i32 @foo6(i32 %a, i32 %b)  {
     50 entry:
     51     %c = or i32 %a, 131072
     52     ret i32 %c
     53 }
     54 
     55 define signext i32 @foo9(i32 %a, i32 %b)  {
     56 entry:
     57     %c = or i32 %a, 123456
     58     ret i32 %c
     59 }
     60 
     61