aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorRenat Idrisov <4032256+parsifal-47@users.noreply.github.com>2025-01-20 06:48:32 -0800
committerGitHub <noreply@github.com>2025-01-20 14:48:32 +0000
commitaa3c31a86f39552d11f0d5bae8b50541d73aa442 (patch)
tree403eba89ac88d7bc04c2c2696d6590bd3c58d5ba /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentcc5eba1737146a727a61b5dbe16d8c2ac453981e (diff)
downloadllvm-aa3c31a86f39552d11f0d5bae8b50541d73aa442.zip
llvm-aa3c31a86f39552d11f0d5bae8b50541d73aa442.tar.gz
llvm-aa3c31a86f39552d11f0d5bae8b50541d73aa442.tar.bz2
[MLIR] Prevent invalid IR from being passed outside of RemoveDeadValues (#121079)
This is a follow-up for https://github.com/llvm/llvm-project/pull/119110 and a fix for https://github.com/llvm/llvm-project/issues/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>
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions