You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang] Fix invalid CodeGen for atomic fetch min/max on floating point values
CodeGen for the builtin function `__atomic_min_fetch` and `__atomic_max_fetch`
would emit an `atomicrmw` instruction followed by an `icmp` instruction on
integral arguments. However, for floating point arguments, CodeGen keeps
emitting `icmp` instruction instead of `fcmp` instruction.
This patch fixes the issue.
0 commit comments