3 ; RUN: llc < %s -mtriple=s390x-linux-gnu | 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: lg [[TARGET:%r[1-5]]], 0([[BASE]],[[INDEX]])
13 ; CHECK: br [[TARGET]]
15 switch i32 %op, label %exit [
49 %res = phi i32 [ %x, %entry ],