[flang] Add PowerPC vec_abs, vec_nmadd, vec_msub and vec_sel intrinsics
authorKelvin Li <kli@ca.ibm.com>
Tue, 11 Jul 2023 03:13:34 +0000 (23:13 -0400)
committerKelvin Li <kli@ca.ibm.com>
Mon, 24 Jul 2023 18:03:50 +0000 (14:03 -0400)
commit447c3a358d080a7247b487a9b44edc2ee42f09b6
treeeed10f436873de4e76a2ab181d209537b24c3d54
parentce89048b12585aeae7772006c4cec274ba06e01f
[flang] Add PowerPC vec_abs, vec_nmadd, vec_msub and vec_sel intrinsics

Co-authored-by: Paul Scoropan <1paulscoropan@gmail.com>
Differential Revision: https://reviews.llvm.org/D154985
flang/include/flang/Optimizer/Builder/PPCIntrinsicCall.h
flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp
flang/module/__ppc_intrinsics.f90
flang/test/Lower/PowerPC/ppc-vec_abs.f90 [new file with mode: 0644]
flang/test/Lower/PowerPC/ppc-vec_max-min-madd-nmsub.f90
flang/test/Lower/PowerPC/ppc-vec_sel.f90 [new file with mode: 0644]