[PATCH] D146602: [PowerPC] Enable canCombineStoreAndExtract target hook

Ting Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 21 20:30:03 PDT 2023


tingwang created this revision.
tingwang added reviewers: shchenz, nemanjai, PowerPC, lkail, qiucf.
tingwang added a project: LLVM.
Herald added subscribers: steven.zhang, kbarton, hiraditya.
Herald added a project: All.
tingwang requested review of this revision.
Herald added a subscriber: llvm-commits.

PowerPC can do store(extract-element) in one instruction. Enable this hook first, and then combiner may explore this kind of opportunities.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146602

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/test/CodeGen/PowerPC/p10-fi-elim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146602.507214.patch
Type: text/x-patch
Size: 4057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230322/f2efb52a/attachment-0001.bin>


More information about the llvm-commits mailing list