[libclc] [libclc] Move mad to the CLC library (PR #123607)
Fraser Cormack via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 20 06:38:32 PST 2025
================
@@ -0,0 +1,4 @@
+_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __clc_mad(__CLC_GENTYPE a, __CLC_GENTYPE b,
+ __CLC_GENTYPE c) {
+ return a * b + c;
----------------
frasercrmck wrote:
Good idea - done. The default is `ON` so we shouldn't expect any changes from this.
https://github.com/llvm/llvm-project/pull/123607
More information about the cfe-commits
mailing list