[llvm] [AVR] Fix a crash in AVRInstrInfo::insertIndirectBranch (PR #67324)
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 18:26:48 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;.
----------------
benshi001 wrote:
Fixed. Thanks!
https://github.com/llvm/llvm-project/pull/67324
More information about the llvm-commits
mailing list