Mercurial > hg > CbC > CbC_llvm
view llvm/test/CodeGen/AMDGPU/spill-sgpr-csr-live-ins.mir @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 79ff65ed7e25 |
children |
line wrap: on
line source
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py # RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s --- name: spill_csr_sgpr_argument tracksRegLiveness: true liveins: - { reg: '$sgpr50' } body: | bb.0: liveins: $sgpr50 ; CHECK-LABEL: name: spill_csr_sgpr_argument ; CHECK: liveins: $sgpr50, $vgpr0 ; CHECK-NEXT: {{ $}} ; CHECK-NEXT: $vgpr0 = V_WRITELANE_B32 $sgpr50, 0, $vgpr0 ; CHECK-NEXT: S_NOP 0, implicit $sgpr50 ; CHECK-NEXT: $sgpr50 = S_MOV_B32 0 S_NOP 0, implicit $sgpr50 $sgpr50 = S_MOV_B32 0 ...