diff --git a/mlir/lib/ExecutionEngine/SparseTensor/File.cpp b/mlir/lib/ExecutionEngine/SparseTensor/File.cpp --- a/mlir/lib/ExecutionEngine/SparseTensor/File.cpp +++ b/mlir/lib/ExecutionEngine/SparseTensor/File.cpp @@ -108,6 +108,8 @@ // integer and floating primary-types. return isRealPrimaryType(valTy); } + MLIR_SPARSETENSOR_FATAL("Unknown ValueKind: %d\n", + static_cast(valueKind_)); } /// Helper to convert C-style strings (i.e., '\0' terminated) to lower case.