[PATCH] D92879: [PowerPC] Materialize 34 bit constants with pli on Power 10.
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 8 12:50:30 PST 2020
stefanp created this revision.
stefanp added reviewers: nemanjai, lei, NeHuang.
Herald added subscribers: shchenz, kbarton, hiraditya.
stefanp requested review of this revision.
Herald added a project: LLVM.
NOTE: This patch was originally written by Anil Mahmud. His code has been
rebased but otherwise left mostly unchanged.
A new instructon on Power 10 allows for the materialization of 34 bit
immediate values. This patch allows the compiler to take advantage of
the new instruction in this situation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92879
Files:
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/mma-intrinsics.ll
llvm/test/CodeGen/PowerPC/p10-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92879.310321.patch
Type: text/x-patch
Size: 9436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201208/cde873e0/attachment.bin>
More information about the llvm-commits
mailing list