diff options
author | Tex Riddell <texr@microsoft.com> | 2024-10-16 11:43:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-16 11:43:17 -0700 |
commit | 875afa939df0bd3ede101447618e6d3bfc4692b3 (patch) | |
tree | ea90a715780575cabe7ba8abc2889b55d9344e91 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 835feaaf35306d1c18c01f2f2792ce01357c7a09 (diff) | |
download | llvm-875afa939df0bd3ede101447618e6d3bfc4692b3.zip llvm-875afa939df0bd3ede101447618e6d3bfc4692b3.tar.gz llvm-875afa939df0bd3ede101447618e6d3bfc4692b3.tar.bz2 |
[X86][CodeGen] Add base atan2 intrinsic lowering (p4) (#110760)
This change is part of this proposal:
https://discourse.llvm.org/t/rfc-all-the-math-intrinsics/78294
Based on example PR #96222 and fix PR #101268, with some differences due
to 2-arg intrinsic and intermediate refactor (RuntimeLibCalls.cpp).
- Add llvm.experimental.constrained.atan2 - Intrinsics.td,
ConstrainedOps.def, LangRef.rst
- Add to ISDOpcodes.h and TargetSelectionDAG.td, connect to intrinsic in
BasicTTIImpl.h, and LibFunc_ in SelectionDAGBuilder.cpp
- Update LegalizeDAG.cpp, LegalizeFloatTypes.cpp, LegalizeVectorOps.cpp,
and LegalizeVectorTypes.cpp
- Update isKnownNeverNaN in SelectionDAG.cpp
- Update SelectionDAGDumper.cpp
- Update libcalls - RuntimeLibcalls.def, RuntimeLibcalls.cpp
- TargetLoweringBase.cpp - Expand for vectors, promote f16
- X86ISelLowering.cpp - Expand f80, promote f32 to f64 for MSVC
Part 4 for Implement the atan2 HLSL Function #70096.
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions