[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / llvm / test / CodeGen / Mips / brsize3.ll
bloba93de3269510cc71bd6d5472ebe83cd6c251f1b3
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 {
17 entry:
18   br label %x
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
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 }
39 !1 = !{i32 45}