[PATCH] D83100: [PPC][GlobalISel] Add initial GlobalIsel infrastructure

Kit Barton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 2 15:41:13 PDT 2020


kbarton created this revision.
kbarton added reviewers: hfinkel, nemanjai, jhibbits.
Herald added subscribers: llvm-commits, luismarques, steven.zhang, s.egerton, lenary, PkmX, simoncook, hiraditya, rovka, mgorny.
Herald added a project: LLVM.
kbarton added reviewers: echristo, PowerPC.
kbarton added reviewers: dsanders, bogner.

This adds the initial GlobalISel skeleton for PowerPC. It can only run
ir-translator and legalizer for `ret void`.

This is largely based on the initial GlobalISel patch for RISCV
(https://reviews.llvm.org/D65219).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83100

Files:
  llvm/lib/Target/PowerPC/CMakeLists.txt
  llvm/lib/Target/PowerPC/LLVMBuild.txt
  llvm/lib/Target/PowerPC/PPC.h
  llvm/lib/Target/PowerPC/PPC.td
  llvm/lib/Target/PowerPC/PPCCallLowering.cpp
  llvm/lib/Target/PowerPC/PPCCallLowering.h
  llvm/lib/Target/PowerPC/PPCInstructionSelector.cpp
  llvm/lib/Target/PowerPC/PPCLegalizerInfo.cpp
  llvm/lib/Target/PowerPC/PPCLegalizerInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterBankInfo.cpp
  llvm/lib/Target/PowerPC/PPCRegisterBankInfo.h
  llvm/lib/Target/PowerPC/PPCRegisterBanks.td
  llvm/lib/Target/PowerPC/PPCSubtarget.cpp
  llvm/lib/Target/PowerPC/PPCSubtarget.h
  llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
  llvm/test/CodeGen/PowerPC/GlobalISel/irtranslator-ret.ll
  llvm/test/CodeGen/PowerPC/GlobalISel/legalize-ret.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83100.275251.patch
Type: text/x-patch
Size: 22276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200702/2c6b65aa/attachment-0001.bin>


More information about the llvm-commits mailing list