[Mlir-commits] [mlir] [mlir][spirv] Rename `*.spv` tests to `*.spvasm`. (PR #170161)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 1 07:56:02 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-spirv
Author: Igor Wodiany (IgWod-IMG)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/170161.diff
3 Files Affected:
- (renamed) mlir/test/Target/SPIRV/consecutive-selection.spvasm ()
- (renamed) mlir/test/Target/SPIRV/selection.spvasm ()
- (modified) mlir/test/lit.cfg.py (+1-1)
``````````diff
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.
``````````
</details>
https://github.com/llvm/llvm-project/pull/170161
More information about the Mlir-commits
mailing list