Check the result of `convertType` before calling `TypeAttr::get`. This prevents a crash on unsupported types (e.g. `tensor`) by ensuring the pattern fails gracefully. Added regression test: map-info-type-conversion-fail.mlir Fixes: #108159
Check the result of `convertType` before calling `TypeAttr::get`. This prevents a crash on unsupported types (e.g. `tensor`) by ensuring the pattern fails gracefully. Added regression test: map-info-type-conversion-fail.mlir Fixes: #108159