[PowerPC] Implement builtins for xvcvspbf16 and xvcvbf16spn
authorAmy Kwan <amy.kwan1@ibm.com>
Tue, 1 Sep 2020 17:39:47 +0000 (12:39 -0500)
committerAmy Kwan <amy.kwan1@ibm.com>
Tue, 1 Sep 2020 22:16:43 +0000 (17:16 -0500)
commit0c2d872d5dec3eba10a8245bbcb3eebcf405ef9f
tree0d168c7884d6e7ae37ef37555fe856c4a5e8ebe6
parent224d8153b53b16cf535ea1a55afdfe1ec5b1374f
[PowerPC] Implement builtins for xvcvspbf16 and xvcvbf16spn

This patch adds the builtin implementation for the xvcvspbf16 and xvcvbf16spn
instructions.

Differential Revision: https://reviews.llvm.org/D86795
clang/include/clang/Basic/BuiltinsPPC.def
clang/test/CodeGen/builtins-ppc-p10vector.c
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/bfloat16-outer-product.ll [new file with mode: 0644]