[Mlir-commits] [mlir] [mlir][spirv] Rename `*.spv` tests to `*.spvasm`. (PR #170161)
Igor Wodiany
llvmlistbot at llvm.org
Mon Dec 1 07:55:26 PST 2025
https://github.com/IgWod-IMG created https://github.com/llvm/llvm-project/pull/170161
This patch renames two of the SPIR-V tests to `*.spvasm` since both files are assembly files, rather than SPIR-V binaries. The `lit.cfg.py` is adjusted and we no longer need to run `*.spv` tests since none are present.
>From 38880942cc2a3442dfc1fa141ada67b48d90cb1e Mon Sep 17 00:00:00 2001
From: Igor Wodiany <igor.wodiany at imgtec.com>
Date: Mon, 1 Dec 2025 15:50:22 +0000
Subject: [PATCH] [mlir][spirv] Rename `*.spv` tests to `*.spvasm`.
This patch renames two of the SPIR-V tests to `*.spvasm` since both
files are assembly files, rather than SPIR-V binaries. The `lit.cfg.py`
is adjusted and we no longer need to run `*.spv` tests since none are
present.
---
.../{consecutive-selection.spv => consecutive-selection.spvasm} | 0
mlir/test/Target/SPIRV/{selection.spv => selection.spvasm} | 0
mlir/test/lit.cfg.py | 2 +-
3 files changed, 1 insertion(+), 1 deletion(-)
rename mlir/test/Target/SPIRV/{consecutive-selection.spv => consecutive-selection.spvasm} (100%)
rename mlir/test/Target/SPIRV/{selection.spv => selection.spvasm} (100%)
diff --git a/mlir/test/Target/SPIRV/consecutive-selection.spv b/mlir/test/Target/SPIRV/consecutive-selection.spvasm
similarity index 100%
rename from mlir/test/Target/SPIRV/consecutive-selection.spv
rename to mlir/test/Target/SPIRV/consecutive-selection.spvasm
diff --git a/mlir/test/Target/SPIRV/selection.spv b/mlir/test/Target/SPIRV/selection.spvasm
similarity index 100%
rename from mlir/test/Target/SPIRV/selection.spv
rename to mlir/test/Target/SPIRV/selection.spvasm
diff --git a/mlir/test/lit.cfg.py b/mlir/test/lit.cfg.py
index 7081c51994ec1..675ded35d98f3 100644
--- a/mlir/test/lit.cfg.py
+++ b/mlir/test/lit.cfg.py
@@ -44,7 +44,7 @@
".test",
".pdll",
".c",
- ".spv",
+ ".spvasm",
]
# test_source_root: The root path where tests are located.
More information about the Mlir-commits
mailing list