[Mlir-commits] [mlir] [mlir][spirv] Remove `function-decorations-asserts.mlir` (PR #164383)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 21 02:58:08 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Igor Wodiany (IgWod-IMG)
<details>
<summary>Changes</summary>
The test is fragile as it relies on the `--debug` flag to test an internal behaviour. This addresses discussion in #<!-- -->164319.
---
Full diff: https://github.com/llvm/llvm-project/pull/164383.diff
1 Files Affected:
- (removed) mlir/test/Target/SPIRV/function-decorations-asserts.mlir (-20)
``````````diff
diff --git a/mlir/test/Target/SPIRV/function-decorations-asserts.mlir b/mlir/test/Target/SPIRV/function-decorations-asserts.mlir
deleted file mode 100644
index ebdb9fb1e75e3..0000000000000
--- a/mlir/test/Target/SPIRV/function-decorations-asserts.mlir
+++ /dev/null
@@ -1,20 +0,0 @@
-// REQUIRES: asserts
-// RUN: mlir-translate --no-implicit-module --test-spirv-roundtrip --split-input-file --debug %s | FileCheck %s
-
-spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Linkage], []> {
- spirv.func @linkage_attr_test_kernel() "DontInline" attributes {} {
- %uchar_0 = spirv.Constant 0 : i8
- %ushort_1 = spirv.Constant 1 : i16
- %uint_0 = spirv.Constant 0 : i32
- spirv.FunctionCall @outside.func.with.linkage(%uchar_0):(i8) -> ()
- spirv.Return
- }
- // CHECK: linkage_attributes = #spirv.linkage_attributes<linkage_name = "outside.func", linkage_type = <Import>>
- spirv.func @outside.func.with.linkage(%arg0 : i8) -> () "Pure" attributes {
- linkage_attributes=#spirv.linkage_attributes<
- linkage_name="outside.func",
- linkage_type=<Import>
- >
- }
- spirv.func @inside.func() -> () "Pure" attributes {} {spirv.Return}
-}
``````````
</details>
https://github.com/llvm/llvm-project/pull/164383
More information about the Mlir-commits
mailing list