[Mlir-commits] [mlir] [MLIR][Transforms] Fix dialect conversion inverse mapping (PR #104648)

Matthias Springer llvmlistbot at llvm.org
Mon Aug 19 12:07:23 PDT 2024


https://github.com/matthias-springer approved this pull request.

Good catch! This is the right fix!

`rewriterImpl.mapping.map(result, castValue)` overwrites the existing mapping of `result`. So the old mapping must be removed from `inverseMapping`.


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


More information about the Mlir-commits mailing list