[PATCH] D140816: [AVR] Fix incorrect decoding of conditional branch instructions

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 00:39:57 PST 2023


benshi001 created this revision.
benshi001 added reviewers: aykevl, dylanmckay.
Herald added subscribers: Jim, hiraditya, emaste.
Herald added a project: All.
benshi001 requested review of this revision.
Herald added subscribers: llvm-commits, jacquesguan, MaskRay.
Herald added a project: LLVM.

The offset operand of the conditional branch instructions is
incorrect when decoded by llvm-objdump. And this patch fixes that issue.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140816

Files:
  lld/test/ELF/avr-reloc.s
  llvm/lib/Target/AVR/AVRInstrFormats.td
  llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140816.485798.patch
Type: text/x-patch
Size: 4161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230101/dfadf992/attachment.bin>


More information about the llvm-commits mailing list