aco: update SMEM offset workaround for LLVM 15

This isn't needed since LLVM 15's b0ccf38b018.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6663
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17036>
This commit is contained in:
Rhys Perry
2022-06-14 20:25:24 +01:00
committed by Marge Bot
parent d301883aba
commit 33e7ba2e3e
2 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -279,8 +279,8 @@ BEGIN_TEST(assembler.smem_offset)
//~gfx10! s_load_dword s7, s[6:7], 0x42 ; f40001c3 fa000042
bld.smem(aco_opcode::s_load_dword, dst, sbase, Operand::c32(0x42));
if (i >= GFX9) {
//~gfx9! s_load_dword s7, s[6:7], 0x42, s5 ; c00241c3 0a000042
//~gfx10! s_load_dword s7, s[6:7], s5, 0x42 ; f40001c3 0a000042
//~gfx9! s_load_dword s7, s[6:7], s5 offset:0x42 ; c00241c3 0a000042
//~gfx10! s_load_dword s7, s[6:7], s5 offset:0x42 ; f40001c3 0a000042
bld.smem(aco_opcode::s_load_dword, dst, sbase, Operand::c32(0x42), offset);
}