[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:51:46 PST 2024


benshi001 wrote:

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

I suggest this way:
1. Introduce a new target feature, something like "RjmpWrap" (or a better name??)
2. Add this target feature to these special devices.
3. 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