[llvm] [AVR] Fix a crash in AVRInstrInfo::insertIndirectBranch (PR #67324)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 27 06:43:33 PDT 2023


================
@@ -7,6 +8,18 @@
 ; CHECK: [[BB1]]:
 ; CHECK: nop
 ; CHECK: [[BB2]]:
+
+;; A `RJMP` is generated instead of expected `JMP` for AVR2,
+;; and it is up to the linker to report 'out of range' or
+;; 'exceed flash maximum size;.
----------------
aykevl wrote:

Small typo

```suggestion
;; 'exceed flash maximum size'.
```

https://github.com/llvm/llvm-project/pull/67324


More information about the llvm-commits mailing list