Skip to content

Commit aa3c31a

Browse files
[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 <[email protected]> Co-authored-by: Andrzej Warzyński <[email protected]>
1 parent cc5eba1 commit aa3c31a

File tree

2 files changed

+268
-110
lines changed

2 files changed

+268
-110
lines changed

0 commit comments

Comments
 (0)