Skip to content

Conversation

@IgWod-IMG
Copy link
Contributor

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.

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.
@llvmbot
Copy link
Member

llvmbot commented Dec 1, 2025

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-spirv

Author: Igor Wodiany (IgWod-IMG)

Changes

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 --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.

@IgWod-IMG IgWod-IMG merged commit 65666b2 into llvm:main Dec 1, 2025
14 checks passed
@IgWod-IMG IgWod-IMG deleted the img_lit-spvasm branch December 1, 2025 17:14
augusto2112 pushed a commit to augusto2112/llvm-project that referenced this pull request Dec 3, 2025
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.
kcloudy0717 pushed a commit to kcloudy0717/llvm-project that referenced this pull request Dec 4, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants