1; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mcpu=mips16 -soft-float -mips16-hard-float -relocation-model=pic -mips16-constant-islands   < %s | FileCheck %s -check-prefix=b-short
2
3; ModuleID = 'brsize3.c'
4target datalayout = "E-p:32:32:32-i1:8:8-i8:8:32-i16:16:32-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-n32-S64"
5target triple = "mips--linux-gnu"
6
7; Function Attrs: noreturn nounwind optsize
8define void @foo() #0 {
9entry:
10  br label %x
11
12x:                                                ; preds = %x, %entry
13  tail call void asm sideeffect ".space 200", ""() #1, !srcloc !1
14  br label %x
15; b-short: $BB0_1:
16; b-short:	#APP
17; b-short:	.space 200
18; b-short:	#NO_APP
19; b-short:	b	$BB0_1 # 16 bit inst
20
21}
22
23attributes #0 = { noreturn nounwind optsize "less-precise-fpmad"="false" "no-frame-pointer-elim"="false" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" }
24attributes #1 = { nounwind }
25
26!1 = !{i32 45}
27