This restores the fix from D134925 to make MSVC and clang happy.
Reviewed By: stella.stamenova
Differential Revision: https://reviews.llvm.org/D135126
//===----------------------------------------------------------------------===//
#include "mlir/ExecutionEngine/SparseTensor/File.h"
+#include "llvm/Support/ErrorHandling.h"
#include <cctype>
#include <cstring>
// integer and floating primary-types.
return isRealPrimaryType(valTy);
}
+ llvm_unreachable("unknown ValueKind");
}
/// Helper to convert C-style strings (i.e., '\0' terminated) to lower case.