Commit aa3c31a
[MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (#121079)
This is a follow-up for #119110
and a fix for #118450
RemoveDeadValues used to delete Values and analyzing the IR at the same
time, because of that, `isMemoryEffectFree` got invalid IR with
half-deleted linalg.generic operation. This PR separates analysis and
cleanup to prevent such situation.
Thank you!
---------
Co-authored-by: Renat Idrisov <parsifal-47@users.noreply.github.com>
Co-authored-by: Andrzej Warzyński <andrzej.warzynski@gmail.com>1 parent cc5eba1 commit aa3c31a
File tree
2 files changed
+268
-110
lines changed- mlir
- lib/Transforms
- test/Transforms
2 files changed
+268
-110
lines changed
0 commit comments