[PATCH] D93300: [PowerPC] Exploit paddi instruction on Power 10 for constant materialization
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 15 07:33:07 PST 2020
stefanp created this revision.
stefanp added reviewers: nemanjai, lei.
Herald added subscribers: shchenz, kbarton, hiraditya.
stefanp requested review of this revision.
Herald added a project: LLVM.
Starting with Power 10 the instruction paddi is available to use.
The instruction allows for immediates that are 34 bits.
This patch adds exploitation of the paddi instruction to allow us
to materialize constants.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D93300
Files:
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/test/CodeGen/PowerPC/fast-isel-pcrel.ll
llvm/test/CodeGen/PowerPC/p10-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93300.311900.patch
Type: text/x-patch
Size: 14372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201215/cf072a3a/attachment-0001.bin>
More information about the llvm-commits
mailing list