[llvm] [AVR] Fix a crash in AVRInstrInfo::insertIndirectBranch (PR #67324)
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 05:11:51 PDT 2023
================
@@ -7,6 +8,15 @@
; CHECK: [[BB1]]:
; CHECK: nop
; CHECK: [[BB2]]:
+
+; AVR2-LABEL: relax_to_jmp:
+; AVR2: cpi r{{[0-9]+}}, 0
+; AVR2: brne [[BB1:.LBB[0-9]+_[0-9]+]]
+; AVR2: rjmp [[BB2:.LBB[0-9]+_[0-9]+]]
+; AVR2: [[BB1]]:
+; AVR2: nop
+; AVR2: [[BB2]]:
----------------
benshi001 wrote:
Done. More comments is added.
https://github.com/llvm/llvm-project/pull/67324
More information about the llvm-commits
mailing list