Skip to content

[mlir][Linalg] Fix match convolution message #106197

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

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

yifeizh2
Copy link
Contributor

Fix the message part of bugfix commit 2ef3dcf.

Fix the message part of bugfix commit `2ef3dcf`.
@llvmbot
Copy link
Member

llvmbot commented Aug 27, 2024

@llvm/pr-subscribers-mlir

Author: None (yifeizh2)

Changes

Fix the message part of bugfix commit 2ef3dcf.


Full diff: https://github.com/llvm/llvm-project/pull/106197.diff

1 Files Affected:

  • (modified) mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp (+1-1)
diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
index d5c21fb5d845e9..0c48a5aeb26a26 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
@@ -919,7 +919,7 @@ mlir::linalg::detail::getMatchConvolutionMessage(MatchConvolutionResult res) {
   case MatchConvolutionResult::NonOutputDimNotReduction:
     return "expected all iterators not used to access outputs to be reduction";
   case MatchConvolutionResult::EmptyConvolvedDims:
-    return "FIXME";
+    return "expected convolved dim to be non-empty";
   case MatchConvolutionResult::Success:
     return "";
   }

@llvmbot
Copy link
Member

llvmbot commented Aug 27, 2024

@llvm/pr-subscribers-mlir-linalg

Author: None (yifeizh2)

Changes

Fix the message part of bugfix commit 2ef3dcf.


Full diff: https://github.com/llvm/llvm-project/pull/106197.diff

1 Files Affected:

  • (modified) mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp (+1-1)
diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
index d5c21fb5d845e9..0c48a5aeb26a26 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp
@@ -919,7 +919,7 @@ mlir::linalg::detail::getMatchConvolutionMessage(MatchConvolutionResult res) {
   case MatchConvolutionResult::NonOutputDimNotReduction:
     return "expected all iterators not used to access outputs to be reduction";
   case MatchConvolutionResult::EmptyConvolvedDims:
-    return "FIXME";
+    return "expected convolved dim to be non-empty";
   case MatchConvolutionResult::Success:
     return "";
   }

Copy link
Contributor

@kazutakahirata kazutakahirata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@yifeizh2 yifeizh2 merged commit bacf312 into llvm:main Aug 28, 2024
11 checks passed
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.

4 participants