[libclc] 7cd1796 - [libclc] Fix typo in OpenCL header math/sincos.h (#147244)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 7 02:30:44 PDT 2025
Author: Wenju He
Date: 2025-07-07T17:30:40+08:00
New Revision: 7cd179612d7af420f0025e754d0051a95ac1fd11
URL: https://github.com/llvm/llvm-project/commit/7cd179612d7af420f0025e754d0051a95ac1fd11
DIFF: https://github.com/llvm/llvm-project/commit/7cd179612d7af420f0025e754d0051a95ac1fd11.diff
LOG: [libclc] Fix typo in OpenCL header math/sincos.h (#147244)
llvm-diff shows no change to nvptx64--nvidiacl.bc and amdgcn--amdhsa.bc
Added:
Modified:
libclc/opencl/include/clc/opencl/math/sincos.h
Removed:
################################################################################
diff --git a/libclc/opencl/include/clc/opencl/math/sincos.h b/libclc/opencl/include/clc/opencl/math/sincos.h
index 0a812f3d13c84..01d034e97d97c 100644
--- a/libclc/opencl/include/clc/opencl/math/sincos.h
+++ b/libclc/opencl/include/clc/opencl/math/sincos.h
@@ -7,6 +7,6 @@
//===----------------------------------------------------------------------===//
#define __CLC_BODY <clc/math/unary_decl_with_ptr.inc>
-#define FUNCTION __clc_sincos
+#define FUNCTION sincos
#include <clc/math/gentype.inc>
#undef FUNCTION
More information about the cfe-commits
mailing list