brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.1 KiB · 07fc6a6 Raw
93 lines · plain
1; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -relocation-model=static -mips32-function-mask=10 -mips-os16 < %s | FileCheck %s -check-prefix=fmask12 3; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -relocation-model=static -mips32-function-mask=01 -mips-os16 < %s | FileCheck %s -check-prefix=fmask24 5; RUN: llc -mtriple=mipsel-linux-gnu -mattr=mips16 -relocation-model=static -mips32-function-mask=10. -mips-os16 < %s | FileCheck %s -check-prefix=fmask1nr6 7; Function Attrs: nounwind optsize readnone8define void @foo1()  {9entry:10  ret void11; fmask1: .ent foo112; fmask1: .set	noreorder13; fmask1: .set	nomacro14; fmask1: .set	noat15; fmask1: .set	at16; fmask1: .set	macro17; fmask1: .set	reorder18; fmask1: .end	foo119; fmask2: .ent	foo120; fmask2: jrc $ra21; fmask2: .end	foo122; fmask1nr: .ent foo123; fmask1nr: .set	noreorder24; fmask1nr: .set	nomacro25; fmask1nr: .set	noat26; fmask1nr: .set	at27; fmask1nr: .set	macro28; fmask1nr: .set	reorder29; fmask1nr: .end	foo130}31 32; Function Attrs: nounwind optsize readnone33define void @foo2()  {34entry:35  ret void36; fmask2: .ent foo237; fmask2: .set	noreorder38; fmask2: .set	nomacro39; fmask2: .set	noat40; fmask2: .set	at41; fmask2: .set	macro42; fmask2: .set	reorder43; fmask2: .end	foo244; fmask1: .ent	foo245; fmask1: jrc $ra46; fmask1: .end	foo247; fmask1nr: .ent	foo248; fmask1nr: jrc $ra49; fmask1nr: .end	foo250}51 52; Function Attrs: nounwind optsize readnone53define void @foo3()  {54entry:55  ret void56; fmask1: .ent foo357; fmask1: .set	noreorder58; fmask1: .set	nomacro59; fmask1: .set	noat60; fmask1: .set	at61; fmask1: .set	macro62; fmask1: .set	reorder63; fmask1: .end	foo364; fmask2:  .ent	foo365; fmask2:  jrc $ra66; fmask2:  .end	foo367; fmask1r:  .ent	foo368; fmask1r:  jrc $ra69; fmask1r:  .end	foo370}71 72; Function Attrs: nounwind optsize readnone73define void @foo4()  {74entry:75  ret void76; fmask2: .ent foo477; fmask2: .set	noreorder78; fmask2: .set	nomacro79; fmask2: .set	noat80; fmask2: .set	at81; fmask2: .set	macro82; fmask2: .set	reorder83; fmask2: .end	foo484; fmask1: .ent	foo485; fmask1: jrc $ra86; fmask1: .end	foo487; fmask1nr: .ent	foo488; fmask1nr: jrc $ra89; fmask1nr: .end	foo490}91 92 93