Revert rGe6ccb57bb3f6b761f2310e97fd6ca99eff42f73e "[SLP] Add cost model for `llvm...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / spill-sgpr-csr-live-ins.mir
blob1d18bab3d097da8f5a180bbe2bbab36428f528ab
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
4 ---
5 name: spill_csr_sgpr_argument
6 tracksRegLiveness: true
7 liveins:
8   - { reg: '$sgpr50' }
9 body:             |
10   bb.0:
11     liveins: $sgpr50
12     ; CHECK-LABEL: name: spill_csr_sgpr_argument
13     ; CHECK: liveins: $sgpr50, $vgpr0
14     ; CHECK: $vgpr0 = V_WRITELANE_B32 $sgpr50, 0, $vgpr0
15     ; CHECK: S_NOP 0, implicit $sgpr50
16     ; CHECK: $sgpr50 = S_MOV_B32 0
17     S_NOP 0, implicit $sgpr50
18     $sgpr50 = S_MOV_B32 0
20 ...