[PATCH] D95030: [CSKY 7/n] Initial codegen support for ALU operations

Zixuan Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 02:49:59 PST 2021


zixuan-wu created this revision.
zixuan-wu added reviewers: rengolin, myhsu, MaskRay, jyknight, theraven, craig.topper, reames.
Herald added subscribers: hiraditya, mgorny.
zixuan-wu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It cooks the minimal patch to construct the codegen infra for CSKY and generate the first basic ALU operation add and related test.
Next, all basic integer instruction codegen will follow.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95030

Files:
  llvm/lib/Target/CSKY/CMakeLists.txt
  llvm/lib/Target/CSKY/CSKY.h
  llvm/lib/Target/CSKY/CSKY.td
  llvm/lib/Target/CSKY/CSKYAsmPrinter.cpp
  llvm/lib/Target/CSKY/CSKYAsmPrinter.h
  llvm/lib/Target/CSKY/CSKYCallingConv.h
  llvm/lib/Target/CSKY/CSKYCallingConv.td
  llvm/lib/Target/CSKY/CSKYFrameLowering.cpp
  llvm/lib/Target/CSKY/CSKYFrameLowering.h
  llvm/lib/Target/CSKY/CSKYISelDAGToDAG.cpp
  llvm/lib/Target/CSKY/CSKYISelLowering.cpp
  llvm/lib/Target/CSKY/CSKYISelLowering.h
  llvm/lib/Target/CSKY/CSKYInstrInfo.cpp
  llvm/lib/Target/CSKY/CSKYInstrInfo.h
  llvm/lib/Target/CSKY/CSKYInstrInfo.td
  llvm/lib/Target/CSKY/CSKYMCInstLower.cpp
  llvm/lib/Target/CSKY/CSKYMCInstLower.h
  llvm/lib/Target/CSKY/CSKYRegisterInfo.cpp
  llvm/lib/Target/CSKY/CSKYRegisterInfo.h
  llvm/lib/Target/CSKY/CSKYSubtarget.cpp
  llvm/lib/Target/CSKY/CSKYSubtarget.h
  llvm/lib/Target/CSKY/CSKYTargetMachine.cpp
  llvm/lib/Target/CSKY/CSKYTargetMachine.h
  llvm/test/CodeGen/CSKY/add.ll
  llvm/test/CodeGen/CSKY/lit.local.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95030.317818.patch
Type: text/x-patch
Size: 49865 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210120/7d287891/attachment.bin>


More information about the llvm-commits mailing list