[libclc] libclc: Add fast version utility functions for div, sqrt and reciprocal (PR #185823)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 01:44:11 PDT 2026
================
@@ -0,0 +1,20 @@
+//===----------------------------------------------------------------------===//
+//
+// 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_MATH_CLC_DIV_FAST_H__
+#define __CLC_MATH_CLC_DIV_FAST_H__
+
+#define __CLC_FLOAT_ONLY
----------------
arsenm wrote:
Yes, this is the other differece from the native. It shoudl work for all types
https://github.com/llvm/llvm-project/pull/185823
More information about the cfe-commits
mailing list