87 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 52# RUN: llc --mtriple=hexagon %s -run-pass=pipeliner -o -| FileCheck %s3 4...5---6name: test_swp_ws_live_intervals7tracksRegLiveness: true8body: |9 ; CHECK-LABEL: name: test_swp_ws_live_intervals10 ; CHECK: bb.0:11 ; CHECK-NEXT: successors: %bb.1(0x80000000)12 ; CHECK-NEXT: liveins: $r013 ; CHECK-NEXT: {{ $}}14 ; CHECK-NEXT: [[COPY:%[0-9]+]]:intregs = COPY $r015 ; CHECK-NEXT: J2_loop0i %bb.1, 1, implicit-def $lc0, implicit-def $sa0, implicit-def $usr16 ; CHECK-NEXT: {{ $}}17 ; CHECK-NEXT: bb.1:18 ; CHECK-NEXT: successors: %bb.2(0x04000000), %bb.1(0x7c000000)19 ; CHECK-NEXT: {{ $}}20 ; CHECK-NEXT: [[L2_loadri_io:%[0-9]+]]:intregs = L2_loadri_io [[COPY]], 021 ; CHECK-NEXT: [[L2_loadrub_io:%[0-9]+]]:intregs = L2_loadrub_io [[L2_loadri_io]], 022 ; CHECK-NEXT: [[PS_loadriabs:%[0-9]+]]:intregs = PS_loadriabs 023 ; CHECK-NEXT: S2_storerb_io [[PS_loadriabs]], 0, [[L2_loadrub_io]]24 ; CHECK-NEXT: ENDLOOP0 %bb.1, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc025 ; CHECK-NEXT: {{ $}}26 ; CHECK-NEXT: bb.2:27 ; CHECK-NEXT: successors: %bb.5(0x80000000)28 ; CHECK-NEXT: {{ $}}29 ; CHECK-NEXT: [[A2_tfrsi:%[0-9]+]]:intregs = A2_tfrsi 030 ; CHECK-NEXT: [[A2_tfrsi1:%[0-9]+]]:intregs = A2_tfrsi -131 ; CHECK-NEXT: J2_jump %bb.5, implicit-def $pc32 ; CHECK-NEXT: {{ $}}33 ; CHECK-NEXT: bb.3:34 ; CHECK-NEXT: S2_storeri_io [[COPY]], 0, %1835 ; CHECK-NEXT: PS_jmpret $r31, implicit-def dead $pc36 ; CHECK-NEXT: {{ $}}37 ; CHECK-NEXT: bb.5:38 ; CHECK-NEXT: successors: %bb.7(0x80000000)39 ; CHECK-NEXT: {{ $}}40 ; CHECK-NEXT: [[A2_addi:%[0-9]+]]:intregs = A2_addi [[A2_tfrsi1]], 141 ; CHECK-NEXT: J2_jump %bb.7, implicit-def $pc42 ; CHECK-NEXT: {{ $}}43 ; CHECK-NEXT: bb.7:44 ; CHECK-NEXT: successors: %bb.3(0x80000000)45 ; CHECK-NEXT: {{ $}}46 ; CHECK-NEXT: [[PHI:%[0-9]+]]:intregs = PHI [[A2_tfrsi]], %bb.547 ; CHECK-NEXT: J2_jump %bb.3, implicit-def $pc48 bb.0:49 successors: %bb.1(0x80000000)50 liveins: $r051 52 %0:intregs = COPY $r053 J2_loop0i %bb.1, 1, implicit-def $lc0, implicit-def $sa0, implicit-def $usr54 55 bb.1:56 successors: %bb.2(0x04000000), %bb.1(0x7c000000)57 58 %1:intregs = L2_loadri_io %0, 059 %2:intregs = L2_loadrub_io killed %1, 060 %3:intregs = PS_loadriabs 061 S2_storerb_io killed %3, 0, killed %262 ENDLOOP0 %bb.1, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc063 64 bb.2:65 successors: %bb.4(0x80000000)66 67 %4:intregs = A2_tfrsi 068 %5:intregs = A2_tfrsi -169 J2_loop0i %bb.4, 1, implicit-def $lc0, implicit-def $sa0, implicit-def $usr70 J2_jump %bb.4, implicit-def $pc71 72 bb.3:73 S2_storeri_io %0, 0, %674 PS_jmpret $r31, implicit-def dead $pc75 76 bb.4:77 successors: %bb.3(0x04000000), %bb.4(0x7c000000)78 79 %7:intregs = PHI %5, %bb.2, %8, %bb.480 %6:intregs = PHI %4, %bb.2, %9, %bb.481 %8:intregs = A2_addi %7, 182 %9:intregs = S2_setbit_i %8, 083 ENDLOOP0 %bb.4, implicit-def $pc, implicit-def $lc0, implicit $sa0, implicit $lc084 J2_jump %bb.3, implicit-def $pc85 86...87