[llvm] [utils] Add spirv triple to update_llc_test_checks (PR #150223)
Nathan Gauër via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 23 06:39:44 PDT 2025
https://github.com/Keenuts created https://github.com/llvm/llvm-project/pull/150223
The 32bit and 64bit flavors of SPIR-V were supported, but the logical version of the triple was lacking. Adding it.
>From 2d418db39c4c47a782b9868157d954e8df936c64 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Gau=C3=ABr?= <brioche at google.com>
Date: Wed, 23 Jul 2025 15:36:09 +0200
Subject: [PATCH] [utils] Add spirv triple to update_llc_test_checks
The 32bit and 64bit flavors of SPIR-V were supported, but the
logical version of the triple was lacking. Adding it.
---
llvm/utils/UpdateTestChecks/asm.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/llvm/utils/UpdateTestChecks/asm.py b/llvm/utils/UpdateTestChecks/asm.py
index 3754aa2eeba85..c2829c1fed0ae 100644
--- a/llvm/utils/UpdateTestChecks/asm.py
+++ b/llvm/utils/UpdateTestChecks/asm.py
@@ -593,6 +593,7 @@ def get_run_handler(triple):
"riscv64": (scrub_asm_riscv, ASM_FUNCTION_RISCV_RE),
"lanai": (scrub_asm_lanai, ASM_FUNCTION_LANAI_RE),
"sparc": (scrub_asm_sparc, ASM_FUNCTION_SPARC_RE),
+ "spirv": (scrub_asm_spirv, ASM_FUNCTION_SPIRV_RE),
"spirv32": (scrub_asm_spirv, ASM_FUNCTION_SPIRV_RE),
"spirv64": (scrub_asm_spirv, ASM_FUNCTION_SPIRV_RE),
"s390x": (scrub_asm_systemz, ASM_FUNCTION_SYSTEMZ_RE),
More information about the llvm-commits
mailing list