[all-commits] [llvm/llvm-project] 7a9891: [Flang] Lower sin, cos intrinsics
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Wed Mar 23 08:22:43 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7a9891c598beea4d2398ca9e10fbb2cb6fcac777
https://github.com/llvm/llvm-project/commit/7a9891c598beea4d2398ca9e10fbb2cb6fcac777
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2022-03-23 (Wed, 23 Mar 2022)
Changed paths:
M flang/lib/Lower/IntrinsicCall.cpp
M flang/test/Lower/llvm-math.f90
M flang/test/Lower/trigonometric-intrinsics.f90
Log Message:
-----------
[Flang] Lower sin, cos intrinsics
The intrinsic computes the sin, cosine values. By default they are lowered
to runtime calls to the pgmath library, for llvm lowering they are
lowered to llvm intrinsics. The generic and llvm lowering does not
lower floating point types with kind greater than 8, the llvm lowering
does not support the complex types.
This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project
Reviewed By: clementval
Differential Revision: https://reviews.llvm.org/D122320
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
More information about the All-commits
mailing list