[llvm-branch-commits] [libclc] libclc: Add work_group_broadcast (PR #185261)
Wenju He via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Mar 8 00:34:31 PST 2026
================
@@ -0,0 +1,28 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifdef __CLC_SCALAR
+
----------------
wenju-he wrote:
also add guard `#if defined(__CLC_FPSIZE) || __CLC_GENSIZE >= 32` since char/short type is not allowed?
but it might be fine to add for char/short type.
https://github.com/llvm/llvm-project/pull/185261
More information about the llvm-branch-commits
mailing list