Home | History | Annotate | Download | only in Mips
      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
      5 
      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
     10 
     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"
     14 
     15 ; Function Attrs: noreturn nounwind optsize
     16 define void @foo() #0 {
     17 entry:
     18   br label %x
     19 
     20 x:                                                ; preds = %x, %entry
     21   tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !1
     22   br label %x
     23 ; b-long: $BB0_1:
     24 ; b-long:	#APP
     25 ; b-long:	.space 60000
     26 ; b-long:	#NO_APP
     27 ; b-long:	b	$BB0_1
     28 ; b-no-short: $BB0_1:
     29 ; b-no-short:	#APP
     30 ; b-no-short:	.space 60000
     31 ; b-no-short:	#NO_APP
     32 ; b-no-short-NOT:	b	$BB0_1 # 16 bit inst
     33 
     34 }
     35 
     36 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" }
     37 attributes #1 = { nounwind }
     38 
     39 !1 = !{i32 45}
     40