llvm.org GIT mirror llvm / 60ccceb test / CodeGen / AMDGPU / postra-norename.mir
60ccceb

Tree @60ccceb (Download .tar.gz)

postra-norename.mir @60cccebraw · history · blame

# 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
...