[all-commits] [llvm/llvm-project] c02da3: [SPIR-V] Add clang builtin for subgroup shuffles (...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Jan 8 13:56:12 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c02da3d903ecde49d1dcc3965658beaa55f99e32
      https://github.com/llvm/llvm-project/commit/c02da3d903ecde49d1dcc3965658beaa55f99e32
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-01-08 (Thu, 08 Jan 2026)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsSPIRVCommon.td
    M clang/lib/CodeGen/TargetBuiltins/SPIR.cpp
    M clang/lib/Sema/SemaSPIRV.cpp
    M clang/test/CodeGenSPIRV/Builtins/subgroup.c
    M clang/test/SemaSPIRV/BuiltIns/subgroup-errors.c

  Log Message:
  -----------
  [SPIR-V] Add clang builtin for subgroup shuffles (#174655)

Summary:
This is an attempt to begin filling out some missing pieces to allow
more generic compute code to use SPIR-V flavored builtins. This should
provide the basic shuffle operation. The next most important one is the
ballot, but I don't think we have an IR intrinsic for that yet.

I don't know SPIR-V very well so let me know if this is the proper
function with the proper semantic checks.



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