[all-commits] [llvm/llvm-project] d25637: [AVR][Clang] Move family names into MCU list

Ayke via All-commits all-commits at lists.llvm.org
Tue Nov 15 06:29:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2563775cd6e7b6b26d306ff233349443ef1945c
      https://github.com/llvm/llvm-project/commit/d2563775cd6e7b6b26d306ff233349443ef1945c
  Author: Ayke van Laethem <aykevanlaethem at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AVR.cpp
    M clang/lib/Basic/Targets/AVR.h
    M clang/test/Misc/target-invalid-cpu-note.c

  Log Message:
  -----------
  [AVR][Clang] Move family names into MCU list

This simplifies the code by avoiding some special cases for family names
(as opposed to device names).

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


  Commit: 09ab9d4d111f7ee2c31b7783099ca41f3aab625d
      https://github.com/llvm/llvm-project/commit/09ab9d4d111f7ee2c31b7783099ca41f3aab625d
  Author: Ayke van Laethem <aykevanlaethem at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AVR.cpp
    M clang/lib/Basic/Targets/AVR.h
    M clang/test/Preprocessor/avr-atmega328p.c
    M clang/test/Preprocessor/avr-attiny104.c

  Log Message:
  -----------
  [AVR][Clang] Implement __AVR_ARCH__ macro

This macro is defined in avr-gcc, and is very useful especially in
assembly code to check whether particular instructions are supported. It
is also the basis for other macros like __AVR_HAVE_ELPM__.

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


  Commit: a8673b722989c209ca41f02ab09150362bf1afd4
      https://github.com/llvm/llvm-project/commit/a8673b722989c209ca41f02ab09150362bf1afd4
  Author: Ayke van Laethem <aykevanlaethem at gmail.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AVR/AVRDevices.td

  Log Message:
  -----------
  [AVR] Add FeatureEIJMPCALL to FamilyAVR6

This feature was probably missed when adding FamilyAVR6, but should
definitely be there. I checked all four devices in the AVR6 family and
they all support eijmp/eicall.

Found while working on https://reviews.llvm.org/D137572.

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


Compare: https://github.com/llvm/llvm-project/compare/a49fcca9e3ec...a8673b722989


More information about the All-commits mailing list