[Mlir-commits] [mlir] 5a98dd6 - [mlir] Remove an extraneous typename (NFC)

Kazu Hirata llvmlistbot at llvm.org
Sun Oct 22 10:42:28 PDT 2023


Author: Kazu Hirata
Date: 2023-10-22T10:42:16-07:00
New Revision: 5a98dd673477a6b0ba53d3608f52428f95736da8

URL: https://github.com/llvm/llvm-project/commit/5a98dd673477a6b0ba53d3608f52428f95736da8
DIFF: https://github.com/llvm/llvm-project/commit/5a98dd673477a6b0ba53d3608f52428f95736da8.diff

LOG: [mlir] Remove an extraneous typename (NFC)

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp b/mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
index 1b4121e18b2c8da..441a6094eddf06a 100644
--- a/mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
+++ b/mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
@@ -96,7 +96,7 @@ static inline void aliasIntoMemref(DataSizeT size, T *data,
                                    StridedMemRefType<T, 1> &ref) {
   ref.basePtr = ref.data = data;
   ref.offset = 0;
-  using MemrefSizeT = typename std::remove_reference_t<decltype(ref.sizes[0])>;
+  using MemrefSizeT = std::remove_reference_t<decltype(ref.sizes[0])>;
   ref.sizes[0] = detail::checkOverflowCast<MemrefSizeT>(size);
   ref.strides[0] = 1;
 }


        


More information about the Mlir-commits mailing list