llvm-project
614fe6da - [mlir][OpenMP] Fix crash in MapInfoOp conversion when type conversion fails (#171045)

Commit
117 days ago
[mlir][OpenMP] Fix crash in MapInfoOp conversion when type conversion fails (#171045) 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
Author
Parents
Loading