2 ; RUN: llc -debug-only=regalloc < %s 2>%t | FileCheck %s --check-prefix=CHECK
3 ; RUN: FileCheck %s < %t --check-prefix=DEBUG
5 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n8:16:32-S64"
6 target triple = "thumbv7m--linux-gnueabi"
9 ; DEBUG: AllocationOrder(GPR) = [ $r0 $r1 $r2 $r3 $r4 $r5 $r6 $r7 $r12 $lr $r8 $r9 $r10 $r11 ]
11 define i32 @test_minsize(i32 %x) optsize minsize {
12 ; CHECK-LABEL: test_minsize:
15 tail call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3}"()
20 ; DEBUG: AllocationOrder(GPR) = [ $r0 $r1 $r2 $r3 $r12 $lr $r4 $r5 $r6 $r7 $r8 $r9 $r10 $r11 ]
22 define i32 @test_optsize(i32 %x) optsize {
23 ; CHECK-LABEL: test_optsize:
26 tail call void asm sideeffect "", "~{r0},~{r1},~{r2},~{r3}"()