Skip to content

Commit 80a8399

Browse files
committed
update docs
1 parent ad8ccba commit 80a8399

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/docs/LanguageExtensions.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,9 @@ Unless specified otherwise operation(±0) = ±0 and operation(±infinity) = ±in
649649

650650
The integer elementwise intrinsics, including ``__builtin_elementwise_popcount``,
651651
``__builtin_elementwise_bitreverse``, ``__builtin_elementwise_add_sat``,
652-
``__builtin_elementwise_sub_sat`` can be called in a ``constexpr`` context.
652+
``__builtin_elementwise_sub_sat`` can be called in a ``constexpr`` context. No
653+
implicit promotion of integer types takes place. The mixing of integer types of
654+
different sizes and signs is forbidden in binary and ternary builtins.
653655

654656
============================================== ====================================================================== =========================================
655657
Name Operation Supported element types

0 commit comments

Comments
 (0)