brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.4 KiB · 20aab18 Raw
40 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -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-short5 6; RUN: llc -mtriple=mipsel-linux-gnu -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-long10 11; ModuleID = 'brsize3.c'12target 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"13target triple = "mips--linux-gnu"14 15; Function Attrs: noreturn nounwind optsize16define void @foo() #0 {17entry:18  br label %x19 20x:                                                ; preds = %x, %entry21  tail call void asm sideeffect ".space 60000", ""() #1, !srcloc !122  br label %x23; b-long: $BB0_1:24; b-long:	#APP25; b-long:	.space 6000026; b-long:	#NO_APP27; b-long:	b	$BB0_128; b-no-short: $BB0_1:29; b-no-short:	#APP30; b-no-short:	.space 6000031; b-no-short:	#NO_APP32; b-no-short-NOT:	b	$BB0_1 # 16 bit inst33 34}35 36attributes #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" "use-soft-float"="true" }37attributes #1 = { nounwind }38 39!1 = !{i32 45}40