1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 \
2 ; RUN: -mattr=+soft-float -mips16-hard-float -relocation-model=pic \
3 ; RUN: -mips16-constant-islands -verify-machineinstrs < %s | \
4 ; RUN: FileCheck %s -check-prefix=b-no-short
6 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 \
7 ; RUN: -mattr=+soft-float -mips16-hard-float -relocation-model=pic \
8 ; RUN: -mips16-constant-islands -verify-machineinstrs < %s | \
9 ; RUN: FileCheck %s -check-prefix=b-long
11 ; ModuleID = 'brsize3.c'
12 target 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"
13 target triple = "mips--linux-gnu"
15 ; Function Attrs: noreturn nounwind optsize
16 define void @foo() #0 {
20 x: ; preds = %x, %entry
21 tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !1
25 ; b-long: .space 60000
30 ; b-no-short: .space 60000
32 ; b-no-short-NOT: b $BB0_1 # 16 bit inst
36 attributes #0 = { noreturn nounwind optsize "less-precise-fpmad"="false" "frame-pointer"="none" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="true" }
37 attributes #1 = { nounwind }