[llvm] a8673b7 - [AVR] Add FeatureEIJMPCALL to FamilyAVR6
Ayke van Laethem via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 06:29:49 PST 2022
Author: Ayke van Laethem
Date: 2022-11-15T15:29:37+01:00
New Revision: a8673b722989c209ca41f02ab09150362bf1afd4
URL: https://github.com/llvm/llvm-project/commit/a8673b722989c209ca41f02ab09150362bf1afd4
DIFF: https://github.com/llvm/llvm-project/commit/a8673b722989c209ca41f02ab09150362bf1afd4.diff
LOG: [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
Added:
Modified:
llvm/lib/Target/AVR/AVRDevices.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AVR/AVRDevices.td b/llvm/lib/Target/AVR/AVRDevices.td
index 3eb5a16204e7..8ecb0a1e7b12 100644
--- a/llvm/lib/Target/AVR/AVRDevices.td
+++ b/llvm/lib/Target/AVR/AVRDevices.td
@@ -184,7 +184,7 @@ def FamilyAVR5 : Family<"avr5",
def FamilyAVR51 : Family<"avr51", [FamilyAVR5, FeatureELPM, FeatureELPMX]>;
-def FamilyAVR6 : Family<"avr6", [FamilyAVR51]>;
+def FamilyAVR6 : Family<"avr6", [FamilyAVR51, FeatureEIJMPCALL]>;
def FamilyTiny
: Family<"avrtiny",
More information about the llvm-commits
mailing list