[Mlir-commits] [mlir] [MLIR] Fix infinite loop in tryFold in Graph Regions (PR #189232)

Mehdi Amini llvmlistbot at llvm.org
Tue Mar 31 04:09:59 PDT 2026


joker-eph wrote:

The dialect conversion tryFold case fixed here is fine, but the canonicalize fix is much more involved and I haven't found a solution yet. This is because in canonicalize we have a more complex loop where we enqueue modified and inserted ops in a worklist, and we can't bound this the same way, and there aren't any easy place to catch this infinite behavior... 
I spent some time on it but I haven't found a good way to tackle this so far.

https://github.com/llvm/llvm-project/pull/189232


More information about the Mlir-commits mailing list