Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame^] | 1 | ; RUN: llc < %s -march=systemz | grep lgr | count 2 |
2 | ; RUN: llc < %s -march=systemz | grep nihf | count 1 | ||||
3 | ; RUN: llc < %s -march=systemz | grep lgfr | count 1 | ||||
Anton Korobeynikov | a51752c | 2009-07-16 13:42:31 +0000 | [diff] [blame] | 4 | |
5 | |||||
6 | define i32 @foo(i32 %a, i32 %b) { | ||||
7 | entry: | ||||
8 | ret i32 %b | ||||
9 | } | ||||
10 | |||||
11 | define i32 @foo1(i32 %a, i32 %b) zeroext { | ||||
12 | entry: | ||||
13 | ret i32 %b | ||||
14 | } | ||||
15 | |||||
16 | define i32 @foo2(i32 %a, i32 %b) signext { | ||||
17 | entry: | ||||
18 | ret i32 %b | ||||
19 | } |