-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[mlir][spirv] Remove function-decorations-asserts.mlir
#164383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The test is fragile as it relies on the `--debug` flag to test an internal behaviour. This address discussion in llvm#164319.
|
@llvm/pr-subscribers-mlir-spirv Author: Igor Wodiany (IgWod-IMG) ChangesThe test is fragile as it relies on the Full diff: https://github.com/llvm/llvm-project/pull/164383.diff 1 Files Affected:
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}
-}
|
|
@llvm/pr-subscribers-mlir Author: Igor Wodiany (IgWod-IMG) ChangesThe test is fragile as it relies on the Full diff: https://github.com/llvm/llvm-project/pull/164383.diff 1 Files Affected:
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}
-}
|
joker-eph
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The test is fragile as it relies on the `--debug` flag to test an internal behaviour. This addresses discussion in llvm#164319.
The test is fragile as it relies on the `--debug` flag to test an internal behaviour. This addresses discussion in llvm#164319.
The test is fragile as it relies on the
--debugflag to test an internal behaviour. This addresses discussion in #164319.