[all-commits] [llvm/llvm-project] ad94f7: [AVR] Add many new AVR MCU model definitions (#144...

Tom Vijlbrief via All-commits all-commits at lists.llvm.org
Sun Jun 15 18:26:01 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad94f77a6a0c421e1f5815d1b8e5aa86d8dd2e92
      https://github.com/llvm/llvm-project/commit/ad94f77a6a0c421e1f5815d1b8e5aa86d8dd2e92
  Author: Tom Vijlbrief <tvijlbrief at gmail.com>
  Date:   2025-06-16 (Mon, 16 Jun 2025)

  Changed paths:
    M clang/lib/Basic/Targets/AVR.cpp
    M clang/lib/Driver/ToolChains/AVR.cpp
    M clang/test/Misc/target-invalid-cpu-note/avr.c
    M llvm/lib/Target/AVR/AVRDevices.td

  Log Message:
  -----------
  [AVR] Add many new AVR MCU model definitions (#144229)

1. Added the missing XMEGA2 definition. The avr64 devices use xmega2 which has SPM(X) defined.

2. The avr16/avr32 devices do have SPM and SPMX features, but the current xmega3 definition has not.
   Xmega3 is also used for modern attiny series which do not have SPM(X), so that is correct.
   Leave the avr16/avr32 devices unchanged (using xmega3 to be in sync with gcc definitions).

Fixes https://github.com/llvm/llvm-project/issues/116116



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list