llvm-project/libclc/opencl/lib/generic/integer/bitfield_extract_unsigned.cl
Wenju He 350385e792
[libclc][NFC] Change include style from <...> to "..." (#186537)
project-specific headers should use "". Keep #include <amdhsa_abi.h>

llvm-diff shows no change to libclc.bc for spir--, spir64--, nvptx64--,
nvptx64--nvidiacl, nvptx64-nvidia-cuda and amdgcn-amd-amdhsa-llvm when
LIBCLC_TARGETS_TO_BUILD is "all".
Verified that reversing spir64--/libclc.spv and spir--/libclc.spv to
LLVM bitcode shows no diff.

Also fix `__CLC_INTEGER_CLC_BITFIELD_EXTRACT_SIGNED_H__` guard per
copilot review.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-18 10:29:54 +08:00

20 lines
662 B
Common Lisp

//===----------------------------------------------------------------------===//
//
// 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 cl_khr_extended_bit_ops
#include "clc/integer/clc_bitfield_extract_unsigned.h"
#define __CLC_FUNCTION bitfield_extract_unsigned
#define __CLC_RETTYPE __CLC_U_GENTYPE
#define __CLC_BODY "bitfield_extract_def.inc"
#include "clc/integer/gentype.inc"
#endif // cl_khr_extended_bit_ops