[Mlir-commits] [mlir] Fix llvm-mlir-use-after-erase findings (PR #210733)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jul 27 23:52:39 PDT 2026


Harald-R wrote:

> This checker seems to have false positive, there is no reason to modify the code as far as I can tell.

Thanks for the review, @joker-eph! I have reverted the false positives and only left the relevant fixes in this PR. Also updated the PR description, so that it is up-to-date with the PR content. Please take another look.

Regarding the checker, I'll look into reducing the false positives, such as only detecting uses that actually dereference an operation.

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


More information about the Mlir-commits mailing list