1f4a2713aSLionel Sambuc; 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-no-short
2f4a2713aSLionel Sambuc
3f4a2713aSLionel Sambuc; 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-long
4f4a2713aSLionel Sambuc
5f4a2713aSLionel Sambuc; ModuleID = 'brsize3.c'
6f4a2713aSLionel Sambuctarget 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"
7f4a2713aSLionel Sambuctarget triple = "mips--linux-gnu"
8f4a2713aSLionel Sambuc
9f4a2713aSLionel Sambuc; Function Attrs: noreturn nounwind optsize
10f4a2713aSLionel Sambucdefine void @foo() #0 {
11f4a2713aSLionel Sambucentry:
12f4a2713aSLionel Sambuc  br label %x
13f4a2713aSLionel Sambuc
14f4a2713aSLionel Sambucx:                                                ; preds = %x, %entry
15f4a2713aSLionel Sambuc  tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !1
16f4a2713aSLionel Sambuc  br label %x
17f4a2713aSLionel Sambuc; b-long: $BB0_1:
18f4a2713aSLionel Sambuc; b-long:	#APP
19f4a2713aSLionel Sambuc; b-long:	.space 60000
20f4a2713aSLionel Sambuc; b-long:	#NO_APP
21f4a2713aSLionel Sambuc; b-long:	b	$BB0_1
22f4a2713aSLionel Sambuc; b-no-short: $BB0_1:
23f4a2713aSLionel Sambuc; b-no-short:	#APP
24f4a2713aSLionel Sambuc; b-no-short:	.space 60000
25f4a2713aSLionel Sambuc; b-no-short:	#NO_APP
26f4a2713aSLionel Sambuc; b-no-short-NOT:	b	$BB0_1 # 16 bit inst
27f4a2713aSLionel Sambuc
28f4a2713aSLionel Sambuc}
29f4a2713aSLionel Sambuc
30f4a2713aSLionel Sambucattributes #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" }
31f4a2713aSLionel Sambucattributes #1 = { nounwind }
32f4a2713aSLionel Sambuc
33*0a6a1f1dSLionel Sambuc!1 = !{i32 45}
34