blob: 337bb3fcb86671005a33a9b33a62f743a24de45d [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=systemz | grep ar | count 3
2; RUN: llc < %s -march=systemz | grep lgfr | count 2
3; RUN: llc < %s -march=systemz | grep llgfr | count 1
Anton Korobeynikova51752c2009-07-16 13:42:31 +00004
5define i32 @foo(i32 %a, i32 %b) {
6entry:
7 %c = add i32 %a, %b
8 ret i32 %c
9}
10
Chris Lattner26b00002011-06-17 03:14:27 +000011define zeroext i32 @foo1(i32 %a, i32 %b) {
Anton Korobeynikova51752c2009-07-16 13:42:31 +000012entry:
13 %c = add i32 %a, %b
14 ret i32 %c
15}
16
Chris Lattner26b00002011-06-17 03:14:27 +000017define signext i32 @foo2(i32 %a, i32 %b) {
Anton Korobeynikova51752c2009-07-16 13:42:31 +000018entry:
19 %c = add i32 %a, %b
20 ret i32 %c
21}
22