1; Test the three-operand forms of OR.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z196 | FileCheck %s
4
5; Check XRK.
6define i32 @f1(i32 %a, i32 %b, i32 %c) {
7; CHECK-LABEL: f1:
8; CHECK: ork %r2, %r3, %r4
9; CHECK: br %r14
10  %or = or i32 %b, %c
11  ret i32 %or
12}
13
14; Check that we can still use OR in obvious cases.
15define i32 @f2(i32 %a, i32 %b) {
16; CHECK-LABEL: f2:
17; CHECK: or %r2, %r3
18; CHECK: br %r14
19  %or = or i32 %a, %b
20  ret i32 %or
21}
22