[Mlir-commits] [mlir] b204ce0 - [MLIR][OpDSL] Silence warning (NFC)
Lorenzo Chelini
llvmlistbot at llvm.org
Mon Mar 7 23:33:38 PST 2022
Author: Lorenzo Chelini
Date: 2022-03-08T08:33:17+01:00
New Revision: b204ce0ca81f445726c7268ead9d3aea6d74ce73
URL: https://github.com/llvm/llvm-project/commit/b204ce0ca81f445726c7268ead9d3aea6d74ce73
DIFF: https://github.com/llvm/llvm-project/commit/b204ce0ca81f445726c7268ead9d3aea6d74ce73.diff
LOG: [MLIR][OpDSL] Silence warning (NFC)
Added:
Modified:
mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
Removed:
################################################################################
diff --git a/mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp b/mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
index 99082a00ba279..1cf1247262e09 100644
--- a/mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
+++ b/mlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-yaml-gen.cpp
@@ -471,6 +471,7 @@ std::string convertFunctionKindToEnumName(ScalarFnKind kind) {
case ScalarFnKind::Type:
return std::string("TypeFn");
}
+ llvm_unreachable("unsupported function kind");
}
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list