diff options
author | Jacques Pienaar <jpienaar@google.com> | 2022-02-08 15:00:39 -0800 |
---|---|---|
committer | Jacques Pienaar <jpienaar@google.com> | 2022-02-08 15:00:39 -0800 |
commit | bbddd19ec723a15ea1558cce5e47cb2460fa8e24 (patch) | |
tree | 6d470114e99342861c9d96875e12a32c94a1d106 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0dcb370d43012a25f28295010ec3e8d3362e3e52 (diff) | |
download | llvm-bbddd19ec723a15ea1558cce5e47cb2460fa8e24.zip llvm-bbddd19ec723a15ea1558cce5e47cb2460fa8e24.tar.gz llvm-bbddd19ec723a15ea1558cce5e47cb2460fa8e24.tar.bz2 |
[mlir][math] Expand coverage of atan2 expansion
Reuse the higher precision F32 approximation for the F16 one (by expanding and
truncating). This is partly RFC as I'm not sure what the expectations are here
(e.g., these are only for F32 and should not be expanded, that reusing
higher-precision ones for lower precision is undesirable due to increased
compute cost and only approximations per exact type is preferred, or this is
appropriate [at least as fallback] but we need to see how to make it more
generic across all the patterns here).
Differential Revision: https://reviews.llvm.org/D118968
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions