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>
20 lines
632 B
C
20 lines
632 B
C
//===----------------------------------------------------------------------===//
|
|
//
|
|
// 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef __CLC_INTEGER_CLC_SUB_SAT_H__
|
|
#define __CLC_INTEGER_CLC_SUB_SAT_H__
|
|
|
|
#define __CLC_FUNCTION __clc_sub_sat
|
|
#define __CLC_BODY "clc/shared/binary_decl.inc"
|
|
|
|
#include "clc/integer/gentype.inc"
|
|
|
|
#undef __CLC_FUNCTION
|
|
|
|
#endif // __CLC_INTEGER_CLC_SUB_SAT_H__
|