[clang] [Clang] Add `__builtin_reduce_addf` for ordered/unordered fp reductions (PR #176160)

Benjamin Maxwell via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 22 01:23:03 PST 2026


================
@@ -1136,6 +1136,7 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl &gd, unsigned builtinID,
   case Builtin::BI__builtin_reduce_xor:
   case Builtin::BI__builtin_reduce_or:
   case Builtin::BI__builtin_reduce_and:
+  case Builtin::BI__builtin_reduce_addf:
----------------
MacDue wrote:

It's more in line with other math/clang builtins to have the `f` as a suffix for floating-point types. 

https://github.com/llvm/llvm-project/pull/176160


More information about the cfe-commits mailing list