[PATCH] D96075: [PowerPC] Exploit Prefixed Load/Stores using the refactored Load/Store Implementation

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 13:20:18 PST 2021


amyk created this revision.
amyk added reviewers: PowerPC, power-llvm-team, nemanjai.
amyk added projects: LLVM, PowerPC.
Herald added subscribers: shchenz, jfb, hiraditya.
amyk requested review of this revision.

This patch exploits the prefixed load and store instructions utilizing the refactored load/store 
implementation introduced in D93370 <https://reviews.llvm.org/D93370>.

Prefixed load and store instructions are emitted whenever we are loading or storing a signed immediate
that fits within 34-bits. Patterns for the prefixed load and stores are added in this patch, as well as the 
implementation that detects when we are loading and storing a signed 34-bit immediate.

Depends on D95116 <https://reviews.llvm.org/D95116>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96075

Files:
  llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCISelLowering.h
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/paired-vector-intrinsics.ll
  llvm/test/CodeGen/PowerPC/prefixed-ld-st-atomics.ll
  llvm/test/CodeGen/PowerPC/prefixed-ld-st-constants.ll
  llvm/test/CodeGen/PowerPC/prefixed-ld-st.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96075.321552.patch
Type: text/x-patch
Size: 50298 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/7e713d12/attachment.bin>


More information about the llvm-commits mailing list