blob: 8b99e68dc7e1e0a5b36f95dac53be4c54f9ace7d [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; 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
Anton Korobeynikov1cc9dc72009-07-16 13:29:38 +00009
Anton Korobeynikovda308c92009-07-16 13:34:50 +000010
11define i64 @foo1() {
Anton Korobeynikov1cc9dc72009-07-16 13:29:38 +000012entry:
Anton Korobeynikovda308c92009-07-16 13:34:50 +000013 ret i64 1
14}
15
16define i64 @foo2() {
17entry:
18 ret i64 65535
19}
20
21define i64 @foo3() {
22entry:
23 ret i64 131072
24}
25
26define i64 @foo4() {
27entry:
28 ret i64 8589934592
29}
30
31define i64 @foo5() {
32entry:
33 ret i64 562949953421312
34}
35
36define i64 @foo6() {
37entry:
38 ret i64 65537
39}
40
41define i64 @foo7() {
42entry:
43 ret i64 4294967295
44}
45
46define i64 @foo8() {
47entry:
48 ret i64 281483566645248
49}