[PATCH] D98042: [PowerPC] Implement patterns for PC-Rel zextload/extload byte loads

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 5 06:23:29 PST 2021


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

This patch adds patterns to select the PC-Relative extloadi1 and zextloadi1 byte loads.
The test case is tested at -O1 in order to test the new patterns added.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98042

Files:
  llvm/lib/Target/PowerPC/PPCInstrPrefix.td
  llvm/test/CodeGen/PowerPC/pcrel-byte-loads.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98042.328385.patch
Type: text/x-patch
Size: 5896 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210305/24f3218f/attachment.bin>


More information about the llvm-commits mailing list