blob: 4d7661acb716dcf1058471943ff49d2af9448b98 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=systemz | grep ogr | count 3
2; RUN: llc < %s -march=systemz | grep nihf | count 1
3; RUN: llc < %s -march=systemz | grep lgfr | count 1
Anton Korobeynikova51752c2009-07-16 13:42:31 +00004
5
6define i32 @foo(i32 %a, i32 %b) {
7entry:
8 %c = or i32 %a, %b
9 ret i32 %c
10}
11
12define i32 @foo1(i32 %a, i32 %b) zeroext {
13entry:
14 %c = or i32 %a, %b
15 ret i32 %c
16}
17
18define i32 @foo2(i32 %a, i32 %b) signext {
19entry:
20 %c = or i32 %a, %b
21 ret i32 %c
22}
23