[Flang] [PowerPC] Implement remaining PPC math operation intrinsics that do not requi...
authorPaul Scoropan <1paulscoropan@gmail.com>
Wed, 15 Mar 2023 14:43:06 +0000 (14:43 +0000)
committerPaul Scoropan <1paulscoropan@gmail.com>
Mon, 20 Mar 2023 15:04:16 +0000 (15:04 +0000)
commit5a222c0b82f8ade6904aa25b33fe93c2d09516f8
treeb890585bbaf0c107c704b6e2f5bd1a0d432588e3
parent47f528217ed82121882bcf2722c743360237c409
[Flang] [PowerPC] Implement remaining PPC math operation intrinsics that do not require semantic error checks

This review implements the following PowerPC math operations that we care about:
- fnabs
- fre
- fres
- frsqrte
- frsqrtes

None of these intrinsics require additional error checks in semantics. The interfaces handle checking types and kinds

Reviewed By: kkwli0

Differential Revision: https://reviews.llvm.org/D146139
flang/lib/Optimizer/Builder/IntrinsicCall.cpp
flang/module/__fortran_ppc_intrinsics.f90
flang/test/Lower/ppc-intrinsics.f90