[Mlir-commits] [mlir] [mlir] fix assertion failure in remove-dead-values (PR #144849)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jun 19 22:59:28 PDT 2025
================
@@ -705,7 +705,8 @@ static void cleanUpDeadVals(RDVFinalCleanupList &list) {
// 4. Operands
for (auto &o : list.operands) {
- o.op->eraseOperands(o.nonLive);
+ if (o.nonLive.size() > 0)
----------------
Menooker wrote:
You are right. I applied your suggested changes.
https://github.com/llvm/llvm-project/pull/144849
More information about the Mlir-commits
mailing list