[all-commits] [llvm/llvm-project] fea20c: [Flang] Lower the sqrt intrinsics
kiranchandramohan via All-commits
all-commits at lists.llvm.org
Tue Mar 22 08:09:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fea20cb99087208d589d81bb7bbbc84198c7ffa4
https://github.com/llvm/llvm-project/commit/fea20cb99087208d589d81bb7bbbc84198c7ffa4
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2022-03-22 (Tue, 22 Mar 2022)
Changed paths:
M flang/lib/Lower/IntrinsicCall.cpp
M flang/test/Lower/llvm-math.f90
A flang/test/Lower/sqrt.f90
Log Message:
-----------
[Flang] Lower the sqrt intrinsics
The intrinsic computes the square root for real and complex numbers. By
default they are lowered to runtime calls to libpgmath. With the llvm
option, it can be lowered to llvm intrinsics (not all types .eg. complex
are supported for llvm lowering).
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: schweitz
Differential Revision: https://reviews.llvm.org/D122018
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>
More information about the All-commits
mailing list