[PATCH] D28346: [AVR] Allow specifying the CPU on the command line

Dylan McKay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 6 20:24:19 PST 2017


dylanmckay updated this revision to Diff 83496.
dylanmckay added a comment.

Add tests

This also defines the '__AVR' and 'AVR' values for all devices, to match what AVR-GCC does.


https://reviews.llvm.org/D28346

Files:
  lib/Basic/Targets.cpp
  test/CodeGen/avr/target-cpu-defines/atmega328p.c
  test/CodeGen/avr/target-cpu-defines/attiny104.c
  test/CodeGen/avr/target-cpu-defines/common.c
  test/CodeGen/avr/target-cpu-families.c
  test/CodeGen/avr/target-cpus.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28346.83496.patch
Type: text/x-patch
Size: 15084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170107/bb31ce06/attachment.bin>


More information about the cfe-commits mailing list