[all-commits] [llvm/llvm-project] f95b63: [llvm][OpenMP] Allow Chunk Size on SIMD Guided (#1...

Jack Styles via All-commits all-commits at lists.llvm.org
Tue Feb 3 01:28:18 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f95b63b7e639486f935ab72717019cf3a958dda9
      https://github.com/llvm/llvm-project/commit/f95b63b7e639486f935ab72717019cf3a958dda9
  Author: Jack Styles <jack.styles at arm.com>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    A mlir/test/Target/LLVMIR/openmp-simd-guided.mlir

  Log Message:
  -----------
  [llvm][OpenMP] Allow Chunk Size on SIMD Guided (#178853)

As per the OpenMP Spec, Chunk Size is allowed when using the guided
kind-type with the schedule clause. However, when being used in cases
such as `!$omp do simd schedule (simd:guided,4)`, this was not allowed
as the base type, BaseGuidedSimd, would hit an assert not allowing
ChunkSizes.

By making this change, we can allow the use of the Guided type, with a
ChunkSize and the schedule clause when using OMPIRBuidler.

Fixes #82106



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