[PATCH] D127218: [PowerPC] Disable automatic generation of STXVP

Nemanja Ivanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 07:55:31 PDT 2022


nemanjai created this revision.
nemanjai added a reviewer: PowerPC.
Herald added subscribers: shchenz, kbarton, hiraditya, qcolombet.
Herald added a project: All.
nemanjai requested review of this revision.
Herald added a project: LLVM.

There are instances where using paired vector stores leads to significant performance degradation due to issues with store forwarding. To avoid falling into this trap with compiler-generated code, we will not emit these instructions unless the user requests them explicitly (with a builtin or by specifying the option).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127218

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  llvm/test/CodeGen/PowerPC/mma-acc-memops.ll
  llvm/test/CodeGen/PowerPC/mma-acc-spill.ll
  llvm/test/CodeGen/PowerPC/mma-intrinsics.ll
  llvm/test/CodeGen/PowerPC/spill-vec-pair.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127218.434816.patch
Type: text/x-patch
Size: 10514 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220607/0bcdabe9/attachment.bin>


More information about the llvm-commits mailing list