[llvm] [AVR] Force relocations for jumps and calls (PR #118015)

Ben Shi via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 03:59:04 PST 2024


https://github.com/benshi001 commented:

I think this change is so aggressive, just for some special devices with 8KB but without long range JMP/CALL.

I suggest this way:

Introduce a new target feature, something like "RjmpWrap" (or a better name??)
Add this target feature to these special devices.
And then we perform force relocation with this new target feature specified.

https://github.com/llvm/llvm-project/pull/118015


More information about the llvm-commits mailing list