1 ; RUN: llc < %s -march=msp430 | FileCheck %s
2 target datalayout = "e-m:e-p:16:16-i32:16:32-a:16-n8:16"
3 target triple = "msp430"
5 define void @foo(i16 %arg) unnamed_addr {
7 br i1 undef, label %bb2, label %bb3
9 bb2: ; preds = %entry-block
12 bb3: ; preds = %entry-block
13 %0 = call { i16, i1 } @llvm.umul.with.overflow.i16(i16 undef, i16 %arg)
15 %1 = extractvalue { i16, i1 } %0, 1
16 %2 = call i1 @llvm.expect.i1(i1 %1, i1 false)
17 br i1 %2, label %panic, label %bb5
26 ; Function Attrs: nounwind readnone
27 declare i1 @llvm.expect.i1(i1, i1) #0
29 ; Function Attrs: nounwind readnone
30 declare { i16, i1 } @llvm.umul.with.overflow.i16(i16, i16) #0
32 attributes #0 = { nounwind readnone }