[llvm] [AVR] Wrap out-of-bounds relative jumps (PR #118015)
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 23 17:12:01 PST 2024
================
@@ -239,7 +251,7 @@ class Device<string Name, Family Fam, ELFArch Arch,
// in AVR binutils. We do not replicate this.
def : Device<"avr1", FamilyAVR1, ELFArchAVR1>;
def : Device<"avr2", FamilyAVR2, ELFArchAVR2>;
-def : Device<"avr25", FamilyAVR25, ELFArchAVR25>;
+def : Device<"avr25", FamilyAVR25, ELFArchAVR25, [FeatureWrappingRjmp]>;
----------------
benshi001 wrote:
It seems not all of avr25 serial devices have a large SRAM, such as `attiny13`, so I would rather leave device `avr25` unchanged.
https://github.com/llvm/llvm-project/pull/118015
More information about the llvm-commits
mailing list