[PATCH] D121082: [PowerPC] Disable perfect shuffle by default

Qiu Chaofan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 6 19:14:09 PST 2022


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

We are going to remove the old 'perfect shuffle' optimization since it brings performance penalty in hot loop around vectors. Some optimization will be fixed in the future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121082

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/2006-08-11-RetVector.ll
  llvm/test/CodeGen/PowerPC/aix-p9-xxinsertw-xxextractuw.ll
  llvm/test/CodeGen/PowerPC/aix-vsx-splatimm.ll
  llvm/test/CodeGen/PowerPC/aix32-p8-scalar_vector_conversions.ll
  llvm/test/CodeGen/PowerPC/extract-and-store.ll
  llvm/test/CodeGen/PowerPC/load-and-splat.ll
  llvm/test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll
  llvm/test/CodeGen/PowerPC/perfect-shuffle.ll
  llvm/test/CodeGen/PowerPC/ppc-32bit-build-vector.ll
  llvm/test/CodeGen/PowerPC/pr27078.ll
  llvm/test/CodeGen/PowerPC/scalar_vector_test_4.ll
  llvm/test/CodeGen/PowerPC/test-vector-insert.ll
  llvm/test/CodeGen/PowerPC/vec_extract_p9.ll
  llvm/test/CodeGen/PowerPC/vec_perf_shuffle.ll
  llvm/test/CodeGen/PowerPC/vec_shuffle_p8vector.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121082.413329.patch
Type: text/x-patch
Size: 35711 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220307/0d4c9072/attachment.bin>


More information about the llvm-commits mailing list