[PATCH] D95116: [NFC][PowerPC] Update PC-Relative Load/Store Patterns to use the refactored Load/Store Implementation

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 23:01:15 PST 2021


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

This patch updates the PC-Relative load and store patterns to utilize the refactored load/store implementation introduced in D93370 <https://reviews.llvm.org/D93370>.
PC-Relative implementation has been added to `PPCISelLowering.cpp`, and also the patterns in `PPCInstrPrefix.td` have been updated and no longer require `AddedComplexity`.
All existing test cases pass with this update.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95116

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95116.318117.patch
Type: text/x-patch
Size: 15255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210121/10865dcb/attachment.bin>


More information about the llvm-commits mailing list