[clang] [clang] Restrict use of scalar types in vector builtins (PR #119423)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 6 08:05:45 PST 2025


================
@@ -649,7 +649,9 @@ Unless specified otherwise operation(±0) = ±0 and operation(±infinity) = ±in
 
 The integer elementwise intrinsics, including ``__builtin_elementwise_popcount``,
 ``__builtin_elementwise_bitreverse``, ``__builtin_elementwise_add_sat``,
-``__builtin_elementwise_sub_sat`` can be called in a ``constexpr`` context.
+``__builtin_elementwise_sub_sat`` can be called in a ``constexpr`` context. No
----------------
RKSimon wrote:

New paragraph to make this clearer.

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


More information about the cfe-commits mailing list