[PATCH] D140815: [AVR] Fix incorrect decoding of RJMP and RCALL

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 1 17:13:48 PST 2023


benshi001 added inline comments.


================
Comment at: llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp:300
     unsigned Offset = Insn & 7; // We need not consider offset > 7.
-    if ((Insn & 0x200) == 0) { // Decode LDD.
+    if ((Insn & 0x200) == 0) {  // Decode LDD.
       Inst.setOpcode(AVR::LDDRdPtrQ);
----------------
This is modified by clang-format .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140815



More information about the llvm-commits mailing list