Unverified Commit bcd14b09 authored by Kohei Yamaguchi's avatar Kohei Yamaguchi Committed by GitHub
Browse files

[mlir][bufferization] Fix SimplifyClones with dealloc before cloneOp (#79098)

The SimplifyClones pass relies on the assumption that the deallocOp
follows the cloneOp. However, a crash occurs when there is a
redundantDealloc preceding the cloneOp. This PR addresses the issue by
ensuring the presence of deallocOp after cloneOp. The verification is
performed by checking if the loop of the sub sequent node of cloneOp
reaches the tail of the list.

Fix #74306
parent 5cc0f76d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment