[Mlir-commits] [mlir] 65666b2 - [mlir][spirv] Rename `*.spv` tests to `*.spvasm`. (#170161)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 1 09:14:19 PST 2025


Author: Igor Wodiany
Date: 2025-12-01T17:14:14Z
New Revision: 65666b2586383c34a4cdc3f324836192258dddc3

URL: https://github.com/llvm/llvm-project/commit/65666b2586383c34a4cdc3f324836192258dddc3
DIFF: https://github.com/llvm/llvm-project/commit/65666b2586383c34a4cdc3f324836192258dddc3.diff

LOG: [mlir][spirv] Rename `*.spv` tests to `*.spvasm`. (#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.

Added: 
    mlir/test/Target/SPIRV/consecutive-selection.spvasm
    mlir/test/Target/SPIRV/selection.spvasm

Modified: 
    mlir/test/lit.cfg.py

Removed: 
    mlir/test/Target/SPIRV/consecutive-selection.spv
    mlir/test/Target/SPIRV/selection.spv


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