This is an archive of the discontinued LLVM Phabricator instance.

Initial migration of AVR backend
ClosedPublic

Authored by dylanmckay on Sep 30 2015, 12:22 PM.

Details

Summary

This patch adds the underlying infrastructure for an AVR backend to be included into LLVM. It is the first of a series of patches aimed at moving the out-of-tree AVR backend into the tree.

It consists of adding a new`Triple` target 'avr'.

Diff Detail

Event Timeline

dylanmckay retitled this revision from to Initial migration of AVR backend.
dylanmckay updated this object.
dylanmckay added reviewers: stoklund, hfinkel.
dylanmckay added a subscriber: llvm-commits.

Hi,

I think this should be broken into 3 patches:

  1. Triple + Calling Convention changes
  2. ELF changes
  3. Tablegen Changes.

Also you should teach llvm-readobj about the new ELF defines to make it easier for writing tests.

dylanmckay updated this revision to Diff 36174.Sep 30 2015, 7:35 PM
dylanmckay updated this object.

Contain only triple-related changes

arsenm added a subscriber: arsenm.Sep 30 2015, 7:41 PM

This should include some tests in unittests/ADT/TripleTest.cpp

dylanmckay updated this revision to Diff 36176.Sep 30 2015, 7:56 PM

Added tests to unittests/ADT/TripleTest.cpp.

dylanmckay updated this revision to Diff 36324.Oct 1 2015, 6:01 PM
dylanmckay updated this object.

Removed the 'Atmel' vendor - it is unnecessary.

arsenm accepted this revision.Oct 14 2015, 8:28 PM
arsenm added a reviewer: arsenm.

LGTM

This revision is now accepted and ready to land.Oct 14 2015, 8:28 PM

I don't have write access - can somebody merge this?

dylanmckay closed this revision.Oct 18 2015, 8:04 PM

Merged in r250492.

orzel added a subscriber: orzel.Nov 30 2015, 8:33 PM