[Mlir-commits] [mlir] [mlir] fix infinite while in 1:N dialect conversion (PR #123122)
Matthias Springer
llvmlistbot at llvm.org
Thu Jan 16 01:24:52 PST 2025
matthias-springer wrote:
```c++
// REPLACE tt.ptr WITH (tt.ptr, arith.constant 0) SAME tt.ptr!!!!
```
Can you show the C++ code for that?
There are two 2 ways to replace a value: `replaceOp[WithMultiple]` and `applySignatureConversion`. Both erase the old op / block, so the nested `tt.ptr` should be a different one.
https://github.com/llvm/llvm-project/pull/123122
More information about the Mlir-commits
mailing list