This patch adds the Clang builtins and LLVM intrinsics to load and store vector pairs.
Depends on D90616
Paths
| Differential D90799
[PowerPC] Add paired vector load and store builtins and intrinsics ClosedPublic Authored by bsaleil on Nov 4 2020, 2:08 PM.
Details
Diff Detail
Event Timelinebsaleil added a parent revision: D90616: [PowerPC] Accumulator/Unprimed Accumulator register copy, spill and restore.
This revision is now accepted and ready to land.Nov 10 2020, 7:02 AM This revision was landed with ongoing or failed builds.Nov 13 2020, 10:35 AM Closed by commit rG3f78605a8cb1: [PowerPC] Add paired vector load and store builtins and intrinsics (authored by bsaleil). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 302969 clang/include/clang/Basic/BuiltinsPPC.def
clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/IR/IntrinsicsPowerPC.td
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/CodeGen/PowerPC/dform-pair-load-store.ll
llvm/test/CodeGen/PowerPC/mma-intrinsics.ll
|
There's alot of nested ifs, would it be possible to refactor to have some early exits instead?