Skip to content

Commit a53239a

Browse files
committed
Add xmega3 family definition
1 parent 0d72eef commit a53239a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/lib/Target/AVR/AVRDevices.td

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,12 @@ def FamilyTiny
209209
[FamilyAVR0, FeatureBREAK, FeatureSRAM, FeatureTinyEncoding,
210210
FeatureSmallStack]>;
211211

212+
def FamilyXMEGA2 : Family<"xmega2",
213+
[FamilyAVR0, FeatureLPM, FeatureIJMPCALL,
214+
FeatureADDSUBIW, FeatureSRAM, FeatureJMPCALL,
215+
FeatureMultiplication, FeatureMOVW, FeatureLPMX,
216+
FeatureBREAK, FeatureLowByteFirst]>;
217+
212218
def FamilyXMEGA3 : Family<"xmega3",
213219
[FamilyAVR0, FeatureLPM, FeatureIJMPCALL,
214220
FeatureADDSUBIW, FeatureSRAM, FeatureJMPCALL,

0 commit comments

Comments
 (0)