1 ; Test indirect jumps on z14.
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s
5 define i32 @f1(i32 %x, i32 %y, i32 %op) {
8 ; CHECK: clibh %r4, 5, 0(%r14)
9 ; CHECK: llgfr [[OP64:%r[0-5]]], %r4
10 ; CHECK: sllg [[INDEX:%r[1-5]]], [[OP64]], 3
11 ; CHECK: larl [[BASE:%r[1-5]]]
12 ; CHECK: bi 0([[BASE]],[[INDEX]])
14 switch i32 %op, label %exit [
48 %res = phi i32 [ %x, %entry ],