[PATCH] D75099: [AVR] Include AVR by default in LLVM builds

Dylan McKay via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 21:23:28 PST 2020


dylanmckay created this revision.
dylanmckay added reviewers: chandlerc, lattner, rengolin, tstellar, arsenm, thakis, simoll, asb.
Herald added subscribers: Jim, aprantl, mgorny, wdng.
Herald added a project: LLVM.

This patch makes the AVR backend an official target of LLVM, serving
as a request for comments for moving the AVR backend out of
experimental.

A future patch will move the LLVM AVR buildbot (llvm-avr-linux) from the
staging buildmaster to the production buildmaster, so error emails will
start to go out.

Summary of the backend
----------------------

- 16-bit little endian
- AsmParser based assembly parser
- uses the MC library for generating AVR ELFs
- most logic driven from standard TableGen-erated tables like other backends
- passes all of the test suite under `check-all`, including generic CodeGen and DebugInfo tests
- Used in two frontends
- Limited, but functional support for DebugInfo and LLVM DWARF dumping
- Binary compatible with AVR-GCC and avr-{libc,libgcc} for the most part
- Cannot lower 32-bit shifts due to a bug, can lower shifts larger or smaller
- Supports assembly/MC for all the entire AVR ISA, generally generates poorly optimized machine instructions, with most focus thus far on correctness

I've added reviewers and subscribers from previous patches where backends were made official,
and those who participated in the recent thread on llvm-dev, please add anybody I've missed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75099

Files:
  llvm/CMakeLists.txt


Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -289,6 +289,7 @@
   AArch64
   AMDGPU
   ARM
+  AVR
   BPF
   Hexagon
   Lanai


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75099.246367.patch
Type: text/x-patch
Size: 225 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200225/da2364eb/attachment.bin>


More information about the llvm-commits mailing list