amirBish wrote: > Could you please add a test that would trigger the wrong assert? Sure, should it be added as a unit test under `mlir/unittests/Dialect` or any other location? https://github.com/llvm/llvm-project/pull/89590