[all-commits] [llvm/llvm-project] 0047df: [SPIR-V] reqd_work_group_size and work_group_size_...
Vyacheslav Levytskyy via All-commits
all-commits at lists.llvm.org
Mon May 20 10:05:47 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0047df9af4a106560197850438d6543dcb87d839
https://github.com/llvm/llvm-project/commit/0047df9af4a106560197850438d6543dcb87d839
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-20 (Mon, 20 May 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
A llvm/test/CodeGen/SPIRV/execution-mode-reqd_work_group_size.ll
A llvm/test/CodeGen/SPIRV/execution-mode-work_group_size_hint.ll
Log Message:
-----------
[SPIR-V] reqd_work_group_size and work_group_size_hint metadata are correctly converted to the LocalSize and LocalSizeHint execution mode (#92552)
The goal of this PR is to ensure that reqd_work_group_size and
work_group_size_hint metadata are correctly converted to the LocalSize
and LocalSizeHint execution mode.
reqd_work_group_size and work_group_size_hint require 3 operands (see
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#Execution_Mode),
if metadata contains less operands, just add a default value (1).
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