Skip to content

Commit c13003a

Browse files
committed
Add MIR test targeting #130884
1 parent 3800ecd commit c13003a

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -run-pass=machine-scheduler -verify-machineinstrs %s -o - | FileCheck -check-prefix=GFX900 %s
2+
3+
---
4+
name: test_undef_reorder
5+
tracksRegLiveness: true
6+
machineFunctionInfo:
7+
isEntryFunction: true
8+
body: |
9+
bb.0:
10+
liveins: $vgpr2
11+
$vgpr5 = COPY $vgpr2
12+
$vgpr4 = COPY $vgpr2
13+
undef %18.sub1:vreg_64 = COPY killed $vgpr4
14+
%18.sub0:vreg_64 = COPY killed $vgpr5
15+
%19: vreg_64 = COPY %18
16+
S_ENDPGM 0
17+
...

0 commit comments

Comments
 (0)