1 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=pic -mips16-constant-islands < %s | FileCheck %s -check-prefix=b-no-short 2 3 ; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 -mattr=+soft-float -mips16-hard-float -relocation-model=pic -mips16-constant-islands < %s | FileCheck %s -check-prefix=b-long 4 5 ; ModuleID = 'brsize3.c' 6 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" 7 target triple = "mips--linux-gnu" 8 9 ; Function Attrs: noreturn nounwind optsize 10 define void @foo() #0 { 11 entry: 12 br label %x 13 14 x: ; preds = %x, %entry 15 tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !1 16 br label %x 17 ; b-long: $BB0_1: 18 ; b-long: #APP 19 ; b-long: .space 60000 20 ; b-long: #NO_APP 21 ; b-long: b $BB0_1 22 ; b-no-short: $BB0_1: 23 ; b-no-short: #APP 24 ; b-no-short: .space 60000 25 ; b-no-short: #NO_APP 26 ; b-no-short-NOT: b $BB0_1 # 16 bit inst 27 28 } 29 30 attributes #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" } 31 attributes #1 = { nounwind } 32 33 !1 = !{i32 45} 34