Add z9 and z10 target processors. Mark z10-only instructions as such.
[oota-llvm.git] / test / CodeGen / SystemZ / 03-RetXorSubreg.ll
1 ; RUN: llvm-as < %s | llc -march=systemz | grep xgr  | count 3
2 ; RUN: llvm-as < %s | llc -march=systemz | grep nilf | count 1
3 ; RUN: llvm-as < %s | llc -march=systemz | grep lgfr | count 1
4
5
6 define i32 @foo(i32 %a, i32 %b) {
7 entry:
8     %c = xor i32 %a, %b
9     ret i32 %c
10 }
11
12 define i32 @foo1(i32 %a, i32 %b) zeroext {
13 entry:
14     %c = xor i32 %a, %b
15     ret i32 %c
16 }
17
18 define i32 @foo2(i32 %a, i32 %b) signext {
19 entry:
20     %c = xor i32 %a, %b
21     ret i32 %c
22 }
23