Home | History | Annotate | Download | only in SystemZ
      1 ; RUN: llc < %s -march=systemz | grep lghi  | count 1
      2 ; RUN: llc < %s -march=systemz | grep llill | count 1
      3 ; RUN: llc < %s -march=systemz | grep llilh | count 1
      4 ; RUN: llc < %s -march=systemz | grep llihl | count 1
      5 ; RUN: llc < %s -march=systemz | grep llihh | count 1
      6 ; RUN: llc < %s -march=systemz | grep lgfi  | count 1
      7 ; RUN: llc < %s -march=systemz | grep llilf | count 1
      8 ; RUN: llc < %s -march=systemz | grep llihf | count 1
      9 
     10 
     11 define i64 @foo1() {
     12 entry:
     13     ret i64 1
     14 }
     15 
     16 define i64 @foo2() {
     17 entry:
     18     ret i64 65535 
     19 }
     20 
     21 define i64 @foo3() {
     22 entry:
     23     ret i64 131072
     24 }
     25 
     26 define i64 @foo4() {
     27 entry:
     28     ret i64 8589934592
     29 }
     30 
     31 define i64 @foo5() {
     32 entry:
     33     ret i64 562949953421312
     34 }
     35 
     36 define i64 @foo6() {
     37 entry:
     38     ret i64 65537
     39 }
     40 
     41 define i64 @foo7() {
     42 entry:
     43     ret i64 4294967295
     44 }
     45 
     46 define i64 @foo8() {
     47 entry:
     48     ret i64 281483566645248
     49 }
     50