llvm-project
12f4eb21 - [mlir][acc] Replace terminators with scf.yield in wrapMultiBlockRegionWithSCFExecuteRegion (#183758)

Commit
4 days ago
[mlir][acc] Replace terminators with scf.yield in wrapMultiBlockRegionWithSCFExecuteRegion (#183758) When wrapping a multi-block region in `scf.execute_region`, replace `func::ReturnOp` (if flang `convertFuncReturn` is set) and `acc::YieldOp` in all the blocks with `scf.yield` so the region has a valid SCF terminator.
Parents
Loading