41 lines · plain
1# RUN: llc -mcpu=pwr10 -O3 -enable-subreg-liveness -verify-machineinstrs \2# RUN: -mtriple=powerpc64le-unknown-linux-gnu -run-pass=greedy,virtregrewriter \3# RUN: -o - %s | FileCheck %s4 5# This test case checks that the 'killed' flag is properly added when using6# subregisters.7 8# CHECK-LABEL: test9# CHECK: KILL_PAIR killed10# CHECK-NEXT: COPY killed11# CHECK-NEXT: KILL_PAIR killed12# CHECK-NEXT: COPY killed13# CHECK-NEXT: BUILD_UACC killed14# CHECK-NEXT: XXMTACC killed15# CHECK-NEXT: SPILL_ACC killed16 17---18name: test19tracksRegLiveness: true20fixedStack:21 - { id: 0, size: 8 }22stack:23 - { id: 0, size: 64 }24body: |25 bb.0:26 liveins: $v2, $v3, $v4, $v527 undef %4.sub_vsx1:vsrprc_with_sub_64_in_vfrc = COPY $v528 %4.sub_vsx0:vsrprc_with_sub_64_in_vfrc = COPY $v429 undef %5.sub_vsx1:vsrprc_with_sub_64_in_vfrc = COPY $v330 %5.sub_vsx0:vsrprc_with_sub_64_in_vfrc = COPY $v231 %6:g8rc_and_g8rc_nox0 = LD 0, %fixed-stack.032 %5:vsrprc_with_sub_64_in_vfrc = KILL_PAIR %533 undef %7.sub_pair0:uaccrc = COPY %534 %4:vsrprc_with_sub_64_in_vfrc = KILL_PAIR %435 %7.sub_pair1:uaccrc = COPY %436 %8:accrc = BUILD_UACC %737 %8:accrc = XXMTACC %838 SPILL_ACC %8, 0, %stack.039 40...41