On Tue, Sep 02, 2025 at 12:03:59PM +0530, [email protected] wrote:
> From: Soumya AR <[email protected]>
> 
> This patch adds builtin types and function declarations for integer atomic 
> fetch
> min/max operations.

Do we really need the new builtins?
Isn't it better to just pattern recognize such operations using
__atomic_compare_exchange if the given optab exists on the target?
When pattern recognized it can then just use one internal fn to represent
all of these.

        Jakub

Reply via email to