summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/postra-norename.mir
blob: 4e10cf3b3e6aa03bbebfb56616a1f4c928d060c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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
...
OpenPOWER on IntegriCloud