[PATCH] D108823: [PowerPC] Mark splat immediate instructions as rematerializable
Victor Huang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 27 07:54:50 PDT 2021
NeHuang created this revision.
NeHuang added reviewers: nemanjai, stefanp, lei, PowerPC.
NeHuang added a project: LLVM.
Herald added subscribers: shchenz, kbarton, hiraditya, qcolombet.
NeHuang requested review of this revision.
This patch marks splat immediate instructions `XXSPLTIDP` and `XXSPLTI32DX` as rematerializable to prevent MachineLICM from moving them out of loops.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D108823
Files:
llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCInstrPrefix.td
llvm/test/CodeGen/PowerPC/constant-pool.ll
llvm/test/CodeGen/PowerPC/p10-spill-crun.ll
llvm/test/CodeGen/PowerPC/p10-splatImm.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108823.369101.patch
Type: text/x-patch
Size: 6317 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210827/69178f01/attachment.bin>
More information about the cfe-commits
mailing list