[Mlir-commits] [mlir] [mlir][remove-dead-values] Fix crash due to dangling operands (PR #181013)
Matthias Springer
llvmlistbot at llvm.org
Thu Feb 12 02:06:10 PST 2026
matthias-springer wrote:
There may be a better way to fix this. The way I've fixed similar problems in this pass is to insert `ub.poison` values. See `createPoisonedValues` and where it's called in this file. The `ub.poison` approach may introduce unnecessary ops (that will be removed again), but it makes the implementation easier to understand and debug. Can you give that a try?
https://github.com/llvm/llvm-project/pull/181013
More information about the Mlir-commits
mailing list