[PowerPC] Rename the vector pair intrinsics and builtins to replace the _mma_ prefix...
authorBaptiste Saleil <baptiste.saleil@ibm.com>
Thu, 17 Dec 2020 18:18:43 +0000 (13:18 -0500)
committerAlbion Fung <conanap@lep82435v.canlab.ibm.com>
Thu, 17 Dec 2020 18:19:27 +0000 (13:19 -0500)
commitc2892978e919bf66535729c70fba73c4c3224548
tree0291dc2c1c90aa6c335d088a94652c4c4734db33
parent1dbf2c96bce93e0a954806d9bdcafcb702a06672
[PowerPC] Rename the vector pair intrinsics and builtins to replace the _mma_ prefix by _vsx_

On PPC, the vector pair instructions are independent from MMA.
This patch renames the vector pair LLVM intrinsics and Clang builtins to replace the _mma_ prefix by _vsx_ in their names.
We also move the vector pair type/intrinsic/builtin tests to their own files.

Differential Revision: https://reviews.llvm.org/D91974
19 files changed:
clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/builtins-ppc-pair-mma.c [moved from clang/test/CodeGen/builtins-ppc-mma.c with 97% similarity]
clang/test/Sema/ppc-pair-mma-types.c [moved from clang/test/Sema/ppc-mma-types.c with 96% similarity]
clang/test/SemaCXX/ppc-pair-mma-types.cpp [moved from clang/test/SemaCXX/ppc-mma-types.cpp with 99% similarity]
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/dform-pair-load-store.ll
llvm/test/CodeGen/PowerPC/loop-p10-pair-prepare.ll
llvm/test/CodeGen/PowerPC/mma-intrinsics.ll
llvm/test/CodeGen/PowerPC/mma-outer-product.ll
llvm/test/CodeGen/PowerPC/mma-phi-accs.ll
llvm/test/CodeGen/PowerPC/more-dq-form-prepare.ll
llvm/test/CodeGen/PowerPC/paired-vector-intrinsics-without-mma.ll [deleted file]
llvm/test/CodeGen/PowerPC/paired-vector-intrinsics.ll [new file with mode: 0644]