[llvm] [AVR] Wrap out-of-bounds relative jumps (PR #118015)
Patryk Wychowaniec via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 26 06:58:58 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]>;
----------------
Patryk27 wrote:
Sure - fwiw this was synchronized with gcc:
https://github.com/gcc-mirror/gcc/blob/d061c681814917c2208f383bd6069e6ab90db220/gcc/config/avr/avr-mcus.def#L88
https://github.com/llvm/llvm-project/pull/118015
More information about the llvm-commits
mailing list