[PATCH] D91931: [RISCV][GlobalISel] Select add i32, i32

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 22 06:34:34 PST 2020


StephenFan created this revision.
StephenFan added reviewers: dsanders, asb, lenary, aemerson, craig.topper.
Herald added subscribers: llvm-commits, frasercrmck, NickHung, evandro, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, kristof.beyls, rovka, mgorny.
Herald added a project: LLVM.
StephenFan requested review of this revision.
Herald added a subscriber: MaskRay.

Support the global instruction selection of add i32, i32.
This patch is the minimal support. And this patch referenced the implementation of ARM and AArch64's GlobalISel.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91931

Files:
  llvm/lib/Target/RISCV/CMakeLists.txt
  llvm/lib/Target/RISCV/RISCVCallLowering.cpp
  llvm/lib/Target/RISCV/RISCVCallingConv.cpp
  llvm/lib/Target/RISCV/RISCVCallingConv.h
  llvm/lib/Target/RISCV/RISCVCallingConv.td
  llvm/lib/Target/RISCV/RISCVInstructionSelector.cpp
  llvm/lib/Target/RISCV/RISCVLegalizerInfo.cpp
  llvm/lib/Target/RISCV/RISCVRegisterBankInfo.cpp
  llvm/lib/Target/RISCV/RISCVRegisterBankInfo.h
  llvm/test/CodeGen/RISCV/GlobalISel/instruction-select.mir
  llvm/test/CodeGen/RISCV/GlobalISel/irtranslator.ll
  llvm/test/CodeGen/RISCV/GlobalISel/isel.ll
  llvm/test/CodeGen/RISCV/GlobalISel/legalizer.mir
  llvm/test/CodeGen/RISCV/GlobalISel/regbankselect.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91931.306913.patch
Type: text/x-patch
Size: 22325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201122/81fb72f6/attachment.bin>


More information about the llvm-commits mailing list