Module: Mesa
Branch: main
Commit: e4d9f6fb505d6591d5c6dbfd99439460cb1bda71
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e4d9f6fb505d6591d5c6dbfd99439460cb1bda71

Author: Rhys Perry <pendingchao...@gmail.com>
Date:   Tue Nov  7 12:44:17 2023 +0000

aco/tests: fix tests with LLVM 17

Signed-off-by: Rhys Perry <pendingchao...@gmail.com>
Reviewed-by: Georg Lehmann <dadschoo...@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10106
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26092>

---

 src/amd/compiler/tests/test_assembler.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/compiler/tests/test_assembler.cpp 
b/src/amd/compiler/tests/test_assembler.cpp
index 4b5a92c5aa9..74febcc0ef1 100644
--- a/src/amd/compiler/tests/test_assembler.cpp
+++ b/src/amd/compiler/tests/test_assembler.cpp
@@ -910,7 +910,7 @@ BEGIN_TEST(assembler.gfx11.vop12c_v128)
    fprintf(output, "llvm_version: %u\n", LLVM_VERSION_MAJOR);
 
    //>> BB0:
-   //; if llvm_ver >= 16:
+   //; if llvm_ver == 16:
    //;    insert_pattern('v_mul_f16_e32 v0, v1, v2 ; Error: VGPR_32_Lo128: 
unknown register 128 ; 6a000501')
    //; else:
    //;    insert_pattern('v_mul_f16_e32 v0, v1, v2                             
       ; 6a000501')

Reply via email to