[llvm] [AVR] Emit relocation record for local branch (PR #145291)

Ben Shi via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 20 05:31:47 PDT 2025


================
@@ -18,7 +18,9 @@ bar:
 ; CHECK: brbs    1, bar            ; encoding: [0bAAAAA001,0b111100AA]
 
 ; INST-LABEL: <foo>:
-; INST-NEXT: b9 f3      breq .-18
-; INST-NEXT: d1 f3      breq .-12
-; INST-NEXT: b9 f3      breq .-18
-; INST-NEXT: 01 f0      breq .+0
+; INST-NEXT: f9 f3      breq .-2
+; INST-NEXT: R_AVR_7_PCREL .text-0x10
+; INST-NEXT: f9 f3      breq .-2
+; INST-NEXT: R_AVR_7_PCREL .text-0x8
+; INST-NEXT: f9 f3      breq .-2
+; INST-NEXT: R_AVR_7_PCREL .text-0xc
----------------
benshi001 wrote:

Sorry, the relcation information for the last is stilling mssing.

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


More information about the llvm-commits mailing list