[PATCH] D158328: [PowerPC] Merge rotate and clear into single instruction.

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 18:12:00 PDT 2023


stefanp created this revision.
stefanp added reviewers: lei, nemanjai, amyk.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.

This patch tries to catch a codegen opportunity where the rotate and
mask can be merged into a single RLDCL instruction.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158328

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/test/CodeGen/PowerPC/ppc-rotate-clear.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158328.551689.patch
Type: text/x-patch
Size: 18063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230819/3ce83fda/attachment.bin>


More information about the llvm-commits mailing list