[PATCH] D78459: [AVR] Don't adjust for instruction size

Ayke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 07:29:06 PDT 2020


aykevl added a comment.

While creating a commit for branch/`rcall`/`rjmp` instructions, I noticed that it makes the LLVM assembler for AVR less buggy. Previously it would output the wrong addend for relocations (off by two) and sometimes emit an instruction that was also off by two. This patch fixes that partially: the instructions are correct while the relocations are still off-by-two. So that looks like an improvement.

That patch for branch/`rcall`/`rjmp` support conflicts with this patch so I'm waiting for this one to be reviewed before submitting it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78459/new/

https://reviews.llvm.org/D78459





More information about the llvm-commits mailing list