27 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 42# RUN: llc -mtriple=amdgcn -mcpu=gfx900 %s -o - -run-pass machine-cp -verify-machineinstrs | FileCheck %s3 4# The MachineCopyPropagation Pass should not treat the subsequent5# instruction "$sgpr2_sgpr3 = COPY $sgpr6_sgpr7" as a NopCopy.6# For detailed information, please refer to issue 73512.7---8name: foo9body: |10 bb.0.entry:11 liveins: $sgpr4_sgpr5, $sgpr6_sgpr712 13 ; CHECK-LABEL: name: foo14 ; CHECK: liveins: $sgpr4_sgpr5, $sgpr6_sgpr715 ; CHECK-NEXT: {{ $}}16 ; CHECK-NEXT: $sgpr2_sgpr3 = COPY $sgpr6_sgpr717 ; CHECK-NEXT: S_NOP 0, implicit-def $sgpr018 ; CHECK-NEXT: $sgpr2_sgpr3 = COPY $sgpr6_sgpr719 ; CHECK-NEXT: S_NOP 0, implicit $sgpr2_sgpr320 $sgpr2_sgpr3 = COPY $sgpr6_sgpr721 $sgpr0 = COPY $sgpr322 S_NOP 0, implicit-def $sgpr023 $sgpr3 = COPY killed $sgpr524 $sgpr2_sgpr3 = COPY $sgpr6_sgpr725 S_NOP 0, implicit $sgpr2_sgpr326...27