[libclc] libclc: Add subgroup scan functions (PR #188828)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 01:09:19 PDT 2026


================
@@ -0,0 +1,77 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+#if defined(__CLC_SCALAR)
+
+#if (defined(__CLC_GENSIZE) && __CLC_GENSIZE <= 32) ||                         \
----------------
arsenm wrote:

No, I merged the two paths using no-op casts 

https://github.com/llvm/llvm-project/pull/188828


More information about the cfe-commits mailing list