1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc %s -o - -mtriple=s390x-linux-gnu | FileCheck %s
3
4define void @pr32372(i8*) {
5; CHECK-LABEL: pr32372:
6; CHECK:       # %bb.0: # %BB
7; CHECK-NEXT:    mvhhi 0(%r1), -3825
8; CHECK-NEXT:  .LBB0_1: # %CF251
9; CHECK-NEXT:    # =>This Inner Loop Header: Depth=1
10; CHECK-NEXT:    j .LBB0_1
11BB:
12  %L = load i8, i8* %0
13  store i16 -3825, i16* undef
14  %L5 = load i8, i8* %0
15  %B8 = call { i8, i1 } @llvm.umul.with.overflow.i8(i8 %L5, i8 %L)
16  %B9 = extractvalue {i8, i1} %B8, 0
17  %I107 = insertelement <8 x i8> zeroinitializer, i8 %B9, i32 7
18  %ZE141 = zext i8 %L5 to i16
19  br label %CF251
20
21CF251:                                            ; preds = %CF258, %CF251, %BB
22  %Shuff217 = shufflevector <8 x i8> zeroinitializer, <8 x i8> %I107, <8 x i32> <i32 0, i32 2, i32 undef, i32 6, i32 8, i32 undef, i32 12, i32 14>
23  %Cmp227 = icmp sge i16 %ZE141, 0
24  br i1 %Cmp227, label %CF251, label %CF258
25
26CF258:                                            ; preds = %CF251
27  %Shuff230 = shufflevector <2 x i16> undef, <2 x i16> undef, <2 x i32> <i32 3, i32 1>
28  br label %CF251
29}
30
31declare {i8, i1} @llvm.umul.with.overflow.i8(i8, i8) nounwind readnone
32