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][llvm] Add support for llvm IR atomicrmw fminimum/fmaximum instructions
This patch adds support for atomicrmw `fmaximum` and `fminimum` instructions.
These mirror the `llvm.maximum.*` and `llvm.minimum.*` instructions, but are
atomic and use IEEE754 2019 handling for NaNs, which is different to `fmax`
and `fmin`. See https://llvm.org/docs/LangRef.html#llvm-minimum-intrinsic
for more details.
Future changes will allow this LLVM IR to be lowered to specialised
assembler instruction on suitable targets, such as AArch64.
0 commit comments