1; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32--
2
3declare {i32, i1} @llvm.umul.with.overflow.i32(i32 %a, i32 %b)
4define zeroext i1 @a(i32 %x)  nounwind {
5  %res = call {i32, i1} @llvm.umul.with.overflow.i32(i32 %x, i32 3)
6  %obil = extractvalue {i32, i1} %res, 1
7  ret i1 %obil
8}
9
10declare {i32, i1} @llvm.smul.with.overflow.i32(i32 %a, i32 %b)
11define zeroext i1 @b(i32 %x)  nounwind {
12  %res = call {i32, i1} @llvm.smul.with.overflow.i32(i32 %x, i32 3)
13  %obil = extractvalue {i32, i1} %res, 1
14  ret i1 %obil
15}
16