[PowerPC] Add fma/fsqrt/fmax strict-fp intrinsics
authorQiu Chaofan <qiucofan@cn.ibm.com>
Tue, 12 May 2020 05:40:54 +0000 (13:40 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Tue, 12 May 2020 05:44:09 +0000 (13:44 +0800)
commite8d2ff22f09fea835ffc778e41a2acae4f4a5632
tree5141c5f5235793651ae6a789ecf391010eb39459
parent5eb55483ebd183985e6f397491ac822304e3a893
[PowerPC] Add fma/fsqrt/fmax strict-fp intrinsics

This patch adds strict-fp intrinsics support for fma, fsqrt, fmaxnum and
fminnum on PowerPC.

Reviewed By: hfinkel

Differential Revision: https://reviews.llvm.org/D72749
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrVSX.td
llvm/test/CodeGen/PowerPC/fp-strict-f128.ll
llvm/test/CodeGen/PowerPC/fp-strict-minmax.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/fp-strict.ll
llvm/test/CodeGen/PowerPC/vector-constrained-fp-intrinsics.ll