33 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -mcpu=gfx1031 -verify-machineinstrs -run-pass=localizer -o - %s | FileCheck %s3 4# Previously this was placing the new G_CONSTANT after the use call5---6name: wrong_user_insert_pt7tracksRegLiveness: true8body: |9 ; CHECK-LABEL: name: wrong_user_insert_pt10 ; CHECK: bb.0:11 ; CHECK-NEXT: successors: %bb.1(0x80000000)12 ; CHECK-NEXT: {{ $}}13 ; CHECK-NEXT: [[C:%[0-9]+]]:_(p0) = G_CONSTANT i64 014 ; CHECK-NEXT: G_BR %bb.115 ; CHECK-NEXT: {{ $}}16 ; CHECK-NEXT: bb.1:17 ; CHECK-NEXT: ADJCALLSTACKUP 0, 0, implicit-def $scc18 ; CHECK-NEXT: [[C1:%[0-9]+]]:_(p0) = G_CONSTANT i64 019 ; CHECK-NEXT: $sgpr30_sgpr31 = G_SI_CALL [[C1]](p0), 0, csr_amdgpu20 ; CHECK-NEXT: ADJCALLSTACKDOWN 0, 0, implicit-def $scc21 ; CHECK-NEXT: S_SETPC_B64_return undef $sgpr30_sgpr3122 bb.0:23 %0:_(p0) = G_CONSTANT i64 024 G_BR %bb.125 26 bb.1:27 ADJCALLSTACKUP 0, 0, implicit-def $scc28 $sgpr30_sgpr31 = G_SI_CALL %0, 0, csr_amdgpu29 ADJCALLSTACKDOWN 0, 0, implicit-def $scc30 S_SETPC_B64_return undef $sgpr30_sgpr3131 32...33