1 ; RUN: llc < %s -march=ppc32
3 declare {i32, i1} @llvm.umul.with.overflow.i32(i32 %a, i32 %b)
4 define i1 @a(i32 %x) zeroext nounwind {
5 %res = call {i32, i1} @llvm.umul.with.overflow.i32(i32 %x, i32 3)
6 %obil = extractvalue {i32, i1} %res, 1
10 declare {i32, i1} @llvm.smul.with.overflow.i32(i32 %a, i32 %b)
11 define i1 @b(i32 %x) zeroext nounwind {
12 %res = call {i32, i1} @llvm.smul.with.overflow.i32(i32 %x, i32 3)
13 %obil = extractvalue {i32, i1} %res, 1