[PATCH] D134792: [PowerPC][GISel] support 64 bit load/store

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 23:41:34 PDT 2022


shchenz created this revision.
shchenz added reviewers: Kai, amyk, nemanjai, arsenm, PowerPC, paquette.
Herald added subscribers: kbarton, hiraditya, kristof.beyls.
Herald added a project: All.
shchenz requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This patch supports 64 bit G_LOAD/G_STORE.

In PPCRegisterBankInfo.cpp, some codes are from AArch64 target. Since PPC Global ISel is still in an early stage, I just made another copy in PPC instead of putting the sharing codes to a common place. Will do the refactor later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134792

Files:
  llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
  llvm/lib/Target/PowerPC/GISel/PPCLegalizerInfo.cpp
  llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.cpp
  llvm/lib/Target/PowerPC/GISel/PPCRegisterBankInfo.h
  llvm/test/CodeGen/PowerPC/GlobalISel/load-store-64bit.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134792.463430.patch
Type: text/x-patch
Size: 13462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220928/bef23c8c/attachment.bin>


More information about the llvm-commits mailing list