Files
Mehdi Amini e485a5d36e [MLIR][SCFToOpenMP] Fix crash when scf.parallel uses non-LLVM-compatible reduction type (#188559)
Replace the assert in ParallelOpLowering::matchAndRewrite that fires
when an scf.parallel reduction init value has a type incompatible with
LLVM (e.g. index) with an early notifyMatchFailure call, so the pass
fails gracefully instead of crashing.

Add a regression test that verifies the pass emits an error instead of
asserting.

Fixes #61342

Assisted-by: Claude Code
2026-03-26 17:20:25 +01:00
..