[all-commits] [llvm/llvm-project] 61ab47: [SPIR-V] Fix out-of-range value for NumWorkgroups ...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Tue Feb 18 01:24:37 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 61ab476460516f4bd60a03a46902e801d0db7306
      https://github.com/llvm/llvm-project/commit/61ab476460516f4bd60a03a46902e801d0db7306
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2025-02-18 (Tue, 18 Feb 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    A llvm/test/CodeGen/SPIRV/opencl/get_num_groups.ll

  Log Message:
  -----------
  [SPIR-V] Fix out-of-range value for NumWorkgroups builtin (#127198)

The OpenCL C specification states that for out-of-range dimension
indices, `get_num_groups` must return 1 instead of 0.



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