[all-commits] [llvm/llvm-project] 8342bf: [mlir][acc] Add acc.predicate_region for redundant...

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Wed Jun 10 08:54:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8342bf926db0436f0a64f69b4b38238e4fa78ae9
      https://github.com/llvm/llvm-project/commit/8342bf926db0436f0a64f69b4b38238e4fa78ae9
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenACC/OpenACCCGOps.td
    M mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp
    M mlir/test/Dialect/OpenACC/invalid-cg.mlir
    M mlir/test/Dialect/OpenACC/ops-cg.mlir

  Log Message:
  -----------
  [mlir][acc] Add acc.predicate_region for redundant/single semantics (#203011)

Add acc.predicate_region, an intermediate codegen operation that groups
statements at intermediate points in a loop nest within
acc.compute_region. OpenACC distinguishes partitioned loop execution
from single and redundant execution at nest transitions: for example,
gang-redundant code runs on all gangs but not as partitioned gang-loop
iterations, and worker-single or vector-single code runs on one worker
or vector lane rather than across the full worker or vector partition.
This grouping marks code whose execution scope differs from surrounding
partitioned loops, so predication and synchronization can be applied
correctly during lowering.



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