[mlir][sparse] SparseTensorUtils post-refactoring cleanup

This differential corrects a few minor rebasing errors from the recent slew of differentials for factoring out the mlir_sparsetensor_utils library.

Reviewed By: aartbik, Peiming

Differential Revision: https://reviews.llvm.org/D134985
This commit is contained in:
wren romano 2022-09-30 12:37:40 -07:00
parent 85714ff0bd
commit 97bd83b51f
3 changed files with 1 additions and 4 deletions

View File

@ -18,7 +18,6 @@
#include "mlir/Dialect/SparseTensor/IR/SparseTensor.h"
#include "mlir/Dialect/Utils/ReshapeOpsUtils.h"
#include "mlir/ExecutionEngine/SparseTensor/Enums.h"
#include "mlir/ExecutionEngine/SparseTensorUtils.h"
#include "mlir/IR/Builders.h"
namespace mlir {

View File

@ -114,10 +114,9 @@ bool SparseTensorFile::canReadAs(PrimaryType valTy) const {
}
/// Helper to convert C-style strings (i.e., '\0' terminated) to lower case.
static inline char *toLower(char *token) {
static inline void toLower(char *token) {
for (char *c = token; *c; ++c)
*c = tolower(*c);
return token;
}
/// Idiomatic name for checking string equality.

View File

@ -2091,7 +2091,6 @@ cc_library(
":TensorDialect",
":Transforms",
":VectorDialect",
":_mlir_c_runner_utils",
":mlir_sparse_tensor_utils",
"//llvm:Support",
],