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