[PATCH] D137573: [AVR] Add FeatureEIJMPCALL to FamilyAVR6

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 7 10:01:43 PST 2022


aykevl created this revision.
aykevl added reviewers: benshi001, dylanmckay.
Herald added subscribers: Jim, hiraditya.
Herald added a project: All.
aykevl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This feature was probably missed when 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 D137572 <https://reviews.llvm.org/D137572> (but this patch can be applied separately).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137573

Files:
  llvm/lib/Target/AVR/AVRDevices.td


Index: llvm/lib/Target/AVR/AVRDevices.td
===================================================================
--- llvm/lib/Target/AVR/AVRDevices.td
+++ llvm/lib/Target/AVR/AVRDevices.td
@@ -184,7 +184,7 @@
 
 def FamilyAVR51 : Family<"avr51", [FamilyAVR5, FeatureELPM, FeatureELPMX]>;
 
-def FamilyAVR6 : Family<"avr6", [FamilyAVR51]>;
+def FamilyAVR6 : Family<"avr6", [FamilyAVR51, FeatureEIJMPCALL]>;
 
 def FamilyTiny
     : Family<"avrtiny",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137573.473728.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221107/bf992759/attachment.bin>


More information about the llvm-commits mailing list