[all-commits] [llvm/llvm-project] 39d5ae: [OpenACC] Replace terminators with scf.yield in wr...

Delaram Talaashrafi via All-commits all-commits at lists.llvm.org
Wed Mar 4 08:17:43 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39d5aea6df9094c560a98f88231d258885285a6c
      https://github.com/llvm/llvm-project/commit/39d5aea6df9094c560a98f88231d258885285a6c
  Author: Delaram Talaashrafi <dtalaashrafi at nvidia.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCUtilsLoop.h
    M mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsLoop.cpp
    M mlir/unittests/Dialect/OpenACC/OpenACCUtilsLoopTest.cpp

  Log Message:
  -----------
  [OpenACC] Replace terminators with scf.yield in wrapMultiBlockRegionWithSCFExecuteRegion (#184458)

When wrapping a multi-block region in `scf.execute_region`, replace
`func::ReturnOp` (if flag `convertFuncReturn` is set) and `acc::YieldOp`
in all the blocks with `scf.yield` so the region has a valid SCF
terminator.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list