brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · 6897aa7 Raw
53 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple thumbv6m-arm-none-eabi -run-pass regallocbasic %s -o - | FileCheck %s3# RUN: llc -mtriple thumbv6m-arm-none-eabi -run-pass greedy %s -o - | FileCheck %s4# RUN: llc -mtriple thumbv6m-arm-none-eabi -run-pass regallocfast %s -o - | FileCheck %s --check-prefix=FAST5# RUN: llc -mtriple thumbv6m-arm-none-eabi -passes=regallocfast %s -o - | FileCheck %s --check-prefix=FAST6# RUN: llc -mtriple thumbv6m-arm-none-eabi -passes=greedy %s -o - | FileCheck %s7 8...9---10name:            constraint_h11alignment:       212tracksRegLiveness: true13registers:14  - { id: 0, class: tgpr }15  - { id: 1, class: hgpr }16  - { id: 2, class: tgpr }17liveins:18  - { reg: '$r0', virtual-reg: '%0' }19frameInfo:20  maxAlignment:    421  maxCallFrameSize: 022  localFrameSize:  423stack:24  - { id: 0, size: 4, alignment: 4, local-offset: -4 }25machineFunctionInfo: {}26body:             |27  bb.0.entry:28    liveins: $r029 30    ; CHECK-LABEL: name: constraint_h31    ; CHECK: liveins: $r032    ; CHECK: [[COPY:%[0-9]+]]:tgpr = COPY $r033    ; CHECK: tSTRspi [[COPY]], %stack.0, 0, 14 /* CC::al */, $noreg34    ; CHECK: [[tLDRspi:%[0-9]+]]:tgpr = tLDRspi %stack.0, 0, 14 /* CC::al */, $noreg35    ; CHECK: [[COPY1:%[0-9]+]]:hgpr = COPY [[tLDRspi]]36    ; CHECK: INLINEASM &"mov r12, $0", 1 /* sideeffect attdialect */, 1048585 /* reguse:GPRnoip_and_GPRnopc */, %1, 12 /* clobber */, implicit-def early-clobber $r1237    ; CHECK: tBX_RET 14 /* CC::al */, $noreg38    ; FAST-LABEL: name: constraint_h39    ; FAST: liveins: $r040    ; FAST: tSTRspi killed renamable $r0, %stack.0, 0, 14 /* CC::al */, $noreg41    ; FAST: renamable $r0 = tLDRspi %stack.0, 0, 14 /* CC::al */, $noreg42    ; FAST: renamable $r8 = COPY killed renamable $r043    ; FAST: INLINEASM &"mov r12, $0", 1 /* sideeffect attdialect */, 1048585 /* reguse:GPRnoip_and_GPRnopc */, killed renamable $r8, 12 /* clobber */, implicit-def dead early-clobber $r1244    ; FAST: tBX_RET 14 /* CC::al */, $noreg45    %0:tgpr = COPY $r046    tSTRspi %0, %stack.0, 0, 14 /* CC::al */, $noreg47    %2:tgpr = tLDRspi %stack.0, 0, 14 /* CC::al */, $noreg48    %1:hgpr = COPY %249    INLINEASM &"mov r12, $0", 1 /* sideeffect attdialect */, 1048585 /* reguse:hGPR */, %1, 12 /* clobber */, implicit-def early-clobber $r1250    tBX_RET 14 /* CC::al */, $noreg51 52...53