[all-commits] [llvm/llvm-project] cf7733: [clang][docs] Fix supported element types for __bu...
Joe Loser via All-commits
all-commits at lists.llvm.org
Thu Sep 22 06:53:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cf77333da986720e9aded4301d81a581e2be9611
https://github.com/llvm/llvm-project/commit/cf77333da986720e9aded4301d81a581e2be9611
Author: Joe Loser <joeloser at fastmail.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] Fix supported element types for __builtin_reduce_(add|mul)
The docs mention that `__builtin_reduce_add` and `__builtin_reduce_mul` support
both integer and floating point element types, but only integer element types
are actually supported. See https://github.com/llvm/llvm-project/issues/57847,
and specifically,
https://github.com/llvm/llvm-project/blob/00874c48ea4d291908517afaab50d1dcbfb016c3/clang/lib/Sema/SemaChecking.cpp#L2631 for the fact that floating point element types are not supported yet.
Fix the docs to only mention support for integer element types.
More information about the All-commits
mailing list