File: brsize3.ll

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,180 kB
  • sloc: cpp: 5,593,972; ansic: 986,872; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,538; xml: 953; cs: 573; fortran: 567
file content (39 lines) | stat: -rw-r--r-- 1,438 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 \
; RUN:     -mattr=+soft-float -mips16-hard-float -relocation-model=pic \
; RUN:     -mips16-constant-islands -verify-machineinstrs  < %s | \
; RUN:     FileCheck %s -check-prefix=b-no-short

; RUN: llc -mtriple=mipsel-linux-gnu -march=mipsel -mattr=mips16 \
; RUN:     -mattr=+soft-float -mips16-hard-float -relocation-model=pic \
; RUN:     -mips16-constant-islands -verify-machineinstrs < %s | \
; RUN:     FileCheck %s -check-prefix=b-long

; ModuleID = 'brsize3.c'
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"
target triple = "mips--linux-gnu"

; Function Attrs: noreturn nounwind optsize
define void @foo() #0 {
entry:
  br label %x

x:                                                ; preds = %x, %entry
  tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !1
  br label %x
; b-long: $BB0_1:
; b-long:	#APP
; b-long:	.space 60000
; b-long:	#NO_APP
; b-long:	b	$BB0_1
; b-no-short: $BB0_1:
; b-no-short:	#APP
; b-no-short:	.space 60000
; b-no-short:	#NO_APP
; b-no-short-NOT:	b	$BB0_1 # 16 bit inst

}

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" }
attributes #1 = { nounwind }

!1 = !{i32 45}