mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
[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:
parent
85714ff0bd
commit
97bd83b51f
@ -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 {
|
||||
|
@ -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.
|
||||
|
@ -2091,7 +2091,6 @@ cc_library(
|
||||
":TensorDialect",
|
||||
":Transforms",
|
||||
":VectorDialect",
|
||||
":_mlir_c_runner_utils",
|
||||
":mlir_sparse_tensor_utils",
|
||||
"//llvm:Support",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user