Skip to content

Commit dd36054

Browse files
Update lgc test after LLVM update (#2761)
Update test affected by upstream change: [AMDGPU] Use absolute relocations when compiling for AMDPAL and Mesa3D llvm/llvm-project#67791 Test would fail until they are propagated so they are also disabled in this patch. TODO: re-enable tests once everything has propagated.
1 parent 5db5dab commit dd36054

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lgc/test/PartPipeline.lgc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
; RUN: lgc -mcpu=gfx1030 -extract=3 -other=%t.fs.elf -o %t.vs.elf %s
33
; RUN: lgc -mcpu=gfx1030 -extract=1 -l %s -o %t.pipe.elf %t.vs.elf %t.fs.elf
44
; RUN: lgcdis %t.pipe.elf | FileCheck %s
5+
; REQUIRES: do-not-run-me
56

67
; The final linked pipeline ELF should have a GS that exports param 0 and
78
; a PS that reads attr0. This tests that separate part-pipeline compilation of
@@ -13,13 +14,13 @@
1314
; CHECK: .type _amdgpu_gs_main,@function
1415
; CHECK: .type _amdgpu_ps_main,@function
1516
; CHECK-LABEL: _amdgpu_gs_main:
16-
; CHECK: .reloc {{.*}}, R_AMDGPU_REL32_LO, table.{{.*}}.vs.elf
17-
; CHECK: .reloc {{.*}}, R_AMDGPU_REL32_HI, table.{{.*}}.vs.elf
17+
; CHECK: .reloc {{.*}}, R_AMDGPU_ABS32_HI, .rodata.cst32.{{.*}}.vs.elf
18+
; CHECK: .reloc {{.*}}, R_AMDGPU_ABS32_LO, .rodata.cst32.{{.*}}.vs.elf
1819
; CHECK: exp param0 v
1920
; CHECK-LABEL: _amdgpu_ps_main:
20-
; CHECK: .reloc {{.*}}, R_AMDGPU_REL32_LO, table.{{.*}}.fs.elf
21-
; CHECK: .reloc {{.*}}, R_AMDGPU_REL32_HI, table.{{.*}}.fs.elf
21+
; CHECK: .reloc {{.*}}, R_AMDGPU_ABS32_HI, .rodata.cst32.{{.*}}.fs.elf
2222
; CHECK-DAG: v_interp_p1_f32_e32 {{.*}}, attr0.x
23+
; CHECK: .reloc {{.*}}, R_AMDGPU_ABS32_LO, .rodata.cst32.{{.*}}.fs.elf
2324
; CHECK-DAG: v_interp_p1_f32_e32 {{.*}}, attr0.y
2425
; CHECK-LABEL: .user_data_limit: 0xc
2526

0 commit comments

Comments
 (0)