[all-commits] [llvm/llvm-project] 12f4eb: [mlir][acc] Replace terminators with scf.yield in ...

Delaram Talaashrafi via All-commits all-commits at lists.llvm.org
Mon Mar 2 11:11:51 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12f4eb2156559c2f8c99fa7dc3b59cb4fef1389d
      https://github.com/llvm/llvm-project/commit/12f4eb2156559c2f8c99fa7dc3b59cb4fef1389d
  Author: Delaram Talaashrafi <dtalaashrafi at nvidia.com>
  Date:   2026-03-02 (Mon, 02 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:
  -----------
  [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.



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