@@ -11598,8 +11598,6 @@ operation. The operation must be one of the following keywords:
1159811598- fsub
1159911599- fmax
1160011600- fmin
11601- - fmaximum
11602- - fminimum
1160311601- uinc_wrap
1160411602- udec_wrap
1160511603- usub_cond
@@ -11609,7 +11607,7 @@ For most of these operations, the type of '<value>' must be an integer
1160911607type whose bit width is a power of two greater than or equal to eight
1161011608and less than or equal to a target-specific size limit. For xchg, this
1161111609may also be a floating point or a pointer type with the same size constraints
11612- as integers. For fadd/fsub/fmax/fmin/fmaximum/fminimum , this must be a floating-point
11610+ as integers. For fadd/fsub/fmax/fmin, this must be a floating-point
1161311611or fixed vector of floating-point type. The type of the '``<pointer>``'
1161411612operand must be a pointer to that type. If the ``atomicrmw`` is marked
1161511613as ``volatile``, then the optimizer is not allowed to modify the
@@ -11650,10 +11648,8 @@ operation argument:
1165011648- umin: ``*ptr = *ptr < val ? *ptr : val`` (using an unsigned comparison)
1165111649- fadd: ``*ptr = *ptr + val`` (using floating point arithmetic)
1165211650- fsub: ``*ptr = *ptr - val`` (using floating point arithmetic)
11653- - fmax: ``*ptr = maxnum(*ptr, val)`` (match the `llvm.maxnum.*` intrinsic)
11654- - fmin: ``*ptr = minnum(*ptr, val)`` (match the `llvm.minnum.*` intrinsic)
11655- - fmaximum: ``*ptr = maximum(*ptr, val)`` (match the `llvm.maximum.*` intrinsic)
11656- - fminimum: ``*ptr = minimum(*ptr, val)`` (match the `llvm.minimum.*` intrinsic)
11651+ - fmax: ``*ptr = maxnum(*ptr, val)`` (match the `llvm.maxnum.*`` intrinsic)
11652+ - fmin: ``*ptr = minnum(*ptr, val)`` (match the `llvm.minnum.*`` intrinsic)
1165711653- uinc_wrap: ``*ptr = (*ptr u>= val) ? 0 : (*ptr + 1)`` (increment value with wraparound to zero when incremented above input value)
1165811654- udec_wrap: ``*ptr = ((*ptr == 0) || (*ptr u> val)) ? val : (*ptr - 1)`` (decrement with wraparound to input value when decremented below zero).
1165911655- usub_cond: ``*ptr = (*ptr u>= val) ? *ptr - val : *ptr`` (subtract only if no unsigned overflow).
0 commit comments