diff --git a/mlir/include/mlir/ExecutionEngine/SparseTensor/PermutationRef.h b/mlir/include/mlir/ExecutionEngine/SparseTensor/PermutationRef.h --- a/mlir/include/mlir/ExecutionEngine/SparseTensor/PermutationRef.h +++ b/mlir/include/mlir/ExecutionEngine/SparseTensor/PermutationRef.h @@ -127,7 +127,6 @@ assert(size == permSize && "size mismatch"); for (uint64_t i = 0; i < permSize; ++i) out[i] = values[perm[i]]; - return out; } private: