[all-commits] [llvm/llvm-project] 586ce6: [MLIR][NFC] Fix a memset in MemRefUtils.h
Shivam Gupta via All-commits
all-commits at lists.llvm.org
Mon Jan 23 01:45:11 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 586ce6ac9e45c736923f105530a51017c518c82f
https://github.com/llvm/llvm-project/commit/586ce6ac9e45c736923f105530a51017c518c82f
Author: Shivam Gupta <shivam98.tkg at gmail.com>
Date: 2023-01-23 (Mon, 23 Jan 2023)
Changed paths:
M mlir/include/mlir/ExecutionEngine/MemRefUtils.h
Log Message:
-----------
[MLIR][NFC] Fix a memset in MemRefUtils.h
found by PVS-Studio - https://pvs-studio.com/en/blog/posts/cpp/1003/, N10.
memset function expects to take int as the second actual argument,
but receives a pointer. Here, the first and the second argument of
the function are mixed up.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D142310
More information about the All-commits
mailing list