[PATCH] D146216: [lld][ELF] Relax long jump/call to short jump/call on AVR
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 18 22:27:16 PDT 2023
benshi001 added inline comments.
================
Comment at: lld/ELF/Arch/AVR.cpp:245
+// rjmp _foo ; 2-byte instruction
+// nop ; 2-byte instruction
+bool AVR::tryRelaxLongJumpCall(uint8_t *loc, uint64_t callAddr,
----------------
Is there any better we can remove this nop ? I can only figure out the way by `memcpy` `uint8_t *loc` .
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146216/new/
https://reviews.llvm.org/D146216
More information about the llvm-commits
mailing list