diff options
author | Tex Riddell <texr@microsoft.com> | 2024-11-12 13:34:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 13:34:29 -0800 |
commit | 5c2a133b1342881dc4f42a896e7e5f4b85d20508 (patch) | |
tree | 3f4fee3cd95e579afe0ddedc6993a36185223249 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | f5396748c7da3d9f278fcd42e2a10a3214920d82 (diff) | |
download | llvm-5c2a133b1342881dc4f42a896e7e5f4b85d20508.zip llvm-5c2a133b1342881dc4f42a896e7e5f4b85d20508.tar.gz llvm-5c2a133b1342881dc4f42a896e7e5f4b85d20508.tar.bz2 |
Emit constrained atan2 intrinsic for clang builtin (#113636)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
- `Builtins.td` - Add f16 support for libm atan2 builtin
- `CGBuiltin.cpp` - Emit constraint atan2 intrinsic for clang builtin
- `clang/test/CodeGenCXX/builtin-calling-conv.cpp` - Use erff instead of
atan2 for clang builtin to lib call calling convention check, now that
atan2 maps to an intrinsic.
- add atan2 cases to llvm.experimental.constrained tests for more
backends: ARM, PowerPC, RISCV, SystemZ.
- LangRef.rst: add llvm.experimental.constrained.atan2, revise
llvm.atan2 description.
Last part of Implement the atan2 HLSL Function. Fixes #70096.
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions