[llvm-branch-commits] [llvm] [mlir] [MLIR] Filter ReturnLike for RecursiveMemoryEffect (PR #244746)

ShengYi Hung via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Nov 22 16:58:43 PST 2026


aokblast wrote:

Before this, any terminator mark as Pure / NoMemoryEffect, their parent gets eliminated. It is currently fine as we never mark NoMemoryEffect for terminator that doesn't go back to its parent in tree.

It is a little bit coupling in here. if we never mark NoMemoryEffect, miscompilation never happens.

https://github.com/llvm/llvm-project/pull/244746


More information about the llvm-branch-commits mailing list