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