[all-commits] [llvm/llvm-project] 705516: [mlir][OpenMP] Don't allow loop bounds/step from i...

Tom Eccles via All-commits all-commits at lists.llvm.org
Wed Apr 8 01:53:19 PDT 2026


  Branch: refs/heads/users/tblah/taskloop-allocas-4
  Home:   https://github.com/llvm/llvm-project
  Commit: 70551638c5393ad7d1be81e4760cffa576f2ba2e
      https://github.com/llvm/llvm-project/commit/70551638c5393ad7d1be81e4760cffa576f2ba2e
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2026-04-08 (Wed, 08 Apr 2026)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Don't allow loop bounds/step from inside the task

The omp.taskloop.context region represents what goes inside the outlined
task function. The loop bounds must be passed to the OpenMP runtime call
for taskloop and so this cannot be supported in general.

In a follow up patch I will re-allow pure operations because sinking
constants inside of the tasklooop context will be useful for something
else I am prototyping.

Assisted-by: codex



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