[PATCH] D23560: [RISCV 3/10] Add stub backend

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 08:22:46 PDT 2016


asb created this revision.
asb added reviewers: theraven, jyknight.
asb added a subscriber: llvm-commits.

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.

https://reviews.llvm.org/D23560

Files:
  CMakeLists.txt
  lib/Target/LLVMBuild.txt
  lib/Target/RISCV/CMakeLists.txt
  lib/Target/RISCV/LLVMBuild.txt
  lib/Target/RISCV/RISCVTargetMachine.cpp
  lib/Target/RISCV/RISCVTargetMachine.h
  lib/Target/RISCV/TargetInfo/CMakeLists.txt
  lib/Target/RISCV/TargetInfo/LLVMBuild.txt
  lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23560.68186.patch
Type: text/x-patch
Size: 8052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/3a822804/attachment.bin>


More information about the llvm-commits mailing list