hanchenye-llvm-project/llvm/test/CodeGen/AMDGPU/postra-norename.mir

14 lines
441 B
YAML

# RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass postrapseudos %s -o - | FileCheck -check-prefix=GCN %s
# Check that post-RA expanded COPY doesn't have renamable operands
# since V_MOV_B32_e32 has hasExtraSrcRegAllocReq set.
# GCN-LABEL: name: test1
# GCN: $vgpr1 = V_MOV_B32_e32 $vgpr0, implicit $exec
name: test1
tracksRegLiveness: true
body: |
bb.0:
liveins: $vgpr0
renamable $vgpr1 = COPY renamable $vgpr0
...