Skip to content
Commit 5c7d97be authored by Martin Erhart's avatar Martin Erhart
Browse files

[mlir][bufferization] Canonicalizer to skip extract_strided_metadata when...

[mlir][bufferization] Canonicalizer to skip extract_strided_metadata when operand is already a base memref.

The `extract_strided_metadata` will be heavily used by the new buffer deallocation pass to get the base memref and pass it to the deallocation operation. This commit factors out some simplification logic of the pass into a canonicalization pattern.

Reviewed By: springerm

Differential Revision: https://reviews.llvm.org/D157255
parent 28226e5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment