This is an archive of the discontinued LLVM Phabricator instance.

[AVR][Clang] Implement __AVR_ARCH__ macro
ClosedPublic

Authored by aykevl on Nov 6 2022, 6:57 PM.

Details

Summary

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__.

Depends on D137520.

Diff Detail

Event Timeline

aykevl created this revision.Nov 6 2022, 6:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2022, 6:57 PM
Herald added a subscriber: Jim. · View Herald Transcript
aykevl requested review of this revision.Nov 6 2022, 6:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 6 2022, 6:57 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
This revision is now accepted and ready to land.Nov 11 2022, 12:51 AM
This revision was landed with ongoing or failed builds.Nov 15 2022, 6:29 AM
This revision was automatically updated to reflect the committed changes.