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

Fraser Cormack via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 6 08:30:59 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
----------------
frasercrmck wrote:

Good idea, thanks.

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


More information about the cfe-commits mailing list