Skip to content

Commit 2ef3dcf

Browse files
[mlir] Fix a warning
This patch fixes: mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp:906:11: error: enumeration value 'EmptyConvolvedDims' not handled in switch [-Werror,-Wswitch] with a workaround. I've notified the author of the new enum value in #102087.
1 parent c073821 commit 2ef3dcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Dialect/Linalg/IR/LinalgInterfaces.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ mlir::linalg::detail::getMatchConvolutionMessage(MatchConvolutionResult res) {
918918
return "expected all iterators used to access outputs to be parallel";
919919
case MatchConvolutionResult::NonOutputDimNotReduction:
920920
return "expected all iterators not used to access outputs to be reduction";
921+
case MatchConvolutionResult::EmptyConvolvedDims:
922+
return "FIXME";
921923
case MatchConvolutionResult::Success:
922924
return "";
923925
}

0 commit comments

Comments
 (0)