Skip to content

Commit 7690ffd

Browse files
committed
Add broken tests from preexisting failure
1 parent ab1dce6 commit 7690ffd

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

llvm/test/CodeGen/AMDGPU/fold-imm-copy.mir

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,53 @@ body: |
184184
S_ENDPGM 0
185185
186186
...
187+
188+
# FIXME: Register class restrictions of av register not respected,
189+
# issue 130020
190+
191+
# ---
192+
# name: s_mov_b32_inlineimm_copy_s_to_av_32
193+
# tracksRegLiveness: true
194+
# body: |
195+
# bb.0:
196+
# %0:sreg_32 = S_MOV_B32 32
197+
# %1:av_32 = COPY %0
198+
# $agpr0 = COPY %1
199+
# S_ENDPGM 0
200+
201+
# ...
202+
203+
# ---
204+
# name: v_mov_b32_inlineimm_copy_v_to_av_32
205+
# tracksRegLiveness: true
206+
# body: |
207+
# bb.0:
208+
# %0:vgpr_32 = V_MOV_B32_e32 32, implicit $exec
209+
# %1:av_32 = COPY %0
210+
# $agpr0 = COPY %1
211+
# S_ENDPGM 0
212+
# ...
213+
214+
# ---
215+
# name: s_mov_b32_imm_literal_copy_s_to_av_32
216+
# tracksRegLiveness: true
217+
# body: |
218+
# bb.0:
219+
# %0:sreg_32 = S_MOV_B32 999
220+
# %1:av_32 = COPY %0
221+
# $agpr0 = COPY %1
222+
# S_ENDPGM 0
223+
224+
# ...
225+
226+
# ---
227+
# name: v_mov_b32_imm_literal_copy_v_to_av_32
228+
# tracksRegLiveness: true
229+
# body: |
230+
# bb.0:
231+
# %0:vgpr_32 = V_MOV_B32_e32 999, implicit $exec
232+
# %1:av_32 = COPY %0
233+
# $agpr0 = COPY %1
234+
# S_ENDPGM 0
235+
236+
# ...

0 commit comments

Comments
 (0)