[CSKY 4/n] Add basic CSKYAsmParser and CSKYInstPrinter
authorZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Tue, 20 Apr 2021 06:06:36 +0000 (14:06 +0800)
committerZi Xuan Wu <zixuan.wu@linux.alibaba.com>
Tue, 20 Apr 2021 07:36:49 +0000 (15:36 +0800)
commit8ba622bae114960ca9b09cd5bd65a921ea99657c
treeb21b43778881307f5a3a997583689db58d03f218
parent9430efa18b02e7a3f453793e48c96d5c954ed751
[CSKY 4/n] Add basic CSKYAsmParser and CSKYInstPrinter

This basic parser will handle basic instructions with register or immediate operands.
With the addition of CSKYInstPrinter, we can now make use of lit tests.

Differential Revision: https://reviews.llvm.org/D93798
llvm/lib/Target/CSKY/AsmParser/CMakeLists.txt [new file with mode: 0644]
llvm/lib/Target/CSKY/AsmParser/CSKYAsmParser.cpp [new file with mode: 0644]
llvm/lib/Target/CSKY/CMakeLists.txt
llvm/lib/Target/CSKY/CSKY.td
llvm/lib/Target/CSKY/CSKYInstrInfo.td
llvm/lib/Target/CSKY/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.cpp [new file with mode: 0644]
llvm/lib/Target/CSKY/MCTargetDesc/CSKYInstPrinter.h [new file with mode: 0644]
llvm/lib/Target/CSKY/MCTargetDesc/CSKYMCTargetDesc.cpp
llvm/test/MC/CSKY/basic.s [new file with mode: 0644]
llvm/test/MC/CSKY/lit.local.cfg [new file with mode: 0644]