[all-commits] [llvm/llvm-project] 9e8f67: [flang] Lower exponentiation without using pgmath.
Slava Zakharin via All-commits
all-commits at lists.llvm.org
Wed Dec 14 15:33:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9e8f6772990131d6aa62ba7010907d9dceb45d08
https://github.com/llvm/llvm-project/commit/9e8f6772990131d6aa62ba7010907d9dceb45d08
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M flang/include/flang/Runtime/numeric.h
M flang/lib/Lower/IntrinsicCall.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/runtime/numeric.cpp
M flang/test/Lower/HLFIR/binary-ops.f90
M flang/test/Lower/math-lowering.f90
M flang/test/Lower/power-operator.f90
M flang/unittests/Runtime/Numeric.cpp
Log Message:
-----------
[flang] Lower exponentiation without using pgmath.
Exponentiation is lowered to either math::FPowI or Fortran runtime
call (in case of --math-runtime=precise).
MathToFuncs convertor will convert math::FPowI operations with
exponent width >32 to calls of outlined implementations and otherwise
will leave the operation to MathToLLVM convertor.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D139806
More information about the All-commits
mailing list