[all-commits] [llvm/llvm-project] cccc7e: [MLIR] Don't remove memref allocation if stored in...
William Moses via All-commits
all-commits at lists.llvm.org
Mon Jun 28 09:06:23 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cccc7e5aa8088b3b721e1f430c47d199575fae9b
https://github.com/llvm/llvm-project/commit/cccc7e5aa8088b3b721e1f430c47d199575fae9b
Author: William S. Moses <gh at wsmoses.com>
Date: 2021-06-28 (Mon, 28 Jun 2021)
Changed paths:
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
M mlir/test/Dialect/MemRef/canonicalize.mlir
Log Message:
-----------
[MLIR] Don't remove memref allocation if stored into another allocation
A canonicalization accidentally will remove a memref allocation if it is only stored into. However, this is incorrect if the allocation is the value being stored, not the allocation being stored into.
Differential Revision: https://reviews.llvm.org/D104947
More information about the All-commits
mailing list