[mlir][memref] fix overflow in realloc
authorPeiming Liu <peiming@google.com>
Fri, 23 Sep 2022 01:48:54 +0000 (01:48 +0000)
committerPeiming Liu <peiming@google.com>
Fri, 23 Sep 2022 03:07:23 +0000 (03:07 +0000)
commit8b587113b746f31b63fd6473083df78cef30a72e
tree7c168fc6711df7bcf3a1c528470cd65da5d8922f
parentac74c51c35a4ed6f50170c5fc4ec051780623829
[mlir][memref] fix overflow in realloc

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D134511
mlir/lib/Conversion/MemRefToLLVM/MemRefToLLVM.cpp
mlir/test/Conversion/MemRefToLLVM/convert-dynamic-memref-ops.mlir
mlir/test/Conversion/MemRefToLLVM/convert-static-memref-ops.mlir
mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_push_back.mlir