[RISCV] Add stub backend
authorAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 17:27:54 +0000 (17:27 +0000)
committerAlex Bradbury <asb@lowrisc.org>
Tue, 1 Nov 2016 17:27:54 +0000 (17:27 +0000)
commitb2e5472d854365ee26a24c7fe3ec6adfc2362ae4
tree020082cb3297d3d7c41bc8b26742821f0cc607c3
parent9677b602880c0202108686e6d2d4f2d1df36608d
[RISCV] Add stub backend

This contains just enough for lib/Target/RISCV to compile. Notably a basic
RISCVTargetMachine and RISCVTargetInfo. At this point you can attempt llc
-march=riscv32 myinput.ll and will find it fails due to the lack of
MCAsmInfo.

See http://lists.llvm.org/pipermail/llvm-dev/2016-August/103748.html for
further discussion

Differential Revision: https://reviews.llvm.org/D23560

llvm-svn: 285712
llvm/CMakeLists.txt
llvm/CODE_OWNERS.TXT
llvm/docs/CompilerWriterInfo.rst
llvm/lib/Target/LLVMBuild.txt
llvm/lib/Target/RISCV/CMakeLists.txt [new file with mode: 0644]
llvm/lib/Target/RISCV/LLVMBuild.txt [new file with mode: 0644]
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp [new file with mode: 0644]
llvm/lib/Target/RISCV/RISCVTargetMachine.h [new file with mode: 0644]
llvm/lib/Target/RISCV/TargetInfo/CMakeLists.txt [new file with mode: 0644]
llvm/lib/Target/RISCV/TargetInfo/LLVMBuild.txt [new file with mode: 0644]
llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp [new file with mode: 0644]