fallback: legalize: G_BLOCK_ADDR p0

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_BLOCK_ADDR p0
Occurrences:78 in 26 configs, 4 test files
Snippet from:fold-addi-loadstore.ll @load_ba_1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define dso_local ptr @load_ba_1() #0 {
entry:
  br label %label

label:                                            ; preds = %entry
  %0 = load ptr, ptr blockaddress(@load_ba_1, %label), align 8
  ret ptr %0
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1:_(p0) = G_BLOCK_ADDR blockaddress(@load_ba_1, %ir-block.label) (in function: load_ba_1)
warning: Instruction selection used fallback path for load_ba_1

Occurrences (78) (first 50):

InputFunctionConfig
blockaddress.lltest_blockaddress-mtriple=riscv32 -verify-machineinstrs
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.lllower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
fold-addi-loadstore.llload_ba_1-mtriple=riscv32 -verify-machineinstrs
fold-addi-loadstore.llload_ba_2-mtriple=riscv32 -verify-machineinstrs
fold-addi-loadstore.llload_ba_1-mtriple=riscv32 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_ba_2-mtriple=riscv32 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_ba_1-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcili<
fold-addi-loadstore.llload_ba_2-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcili<
fold-addi-loadstore.llload_ba_1-mtriple=riscv64 -verify-machineinstrs
fold-addi-loadstore.llload_ba_2-mtriple=riscv64 -verify-machineinstrs
fold-addi-loadstore.llload_ba_1-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_ba_2-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_ba_1-mtriple=riscv64 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_ba_2-mtriple=riscv64 -verify-machineinstrs -code-model=medium
blockaddress.f126e48380.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
codemodel-lowering.1129a739e3.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.13a1449500.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.1d6d214c01.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs
codemodel-lowering.32f184e5fe.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.3920e3e8b4.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.450c67bdbd.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.637a8618b8.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.65dcb7d20b.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.754d8b022d.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.764b612a7c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.79507f2bef.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.7a7af5faa1.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.801575f107.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.81a99ce46f.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.88d4a9e9c6.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.99b207fbdd.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.9a56c751d1.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.9a7cdd7073.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.9f259583a3.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.a078b1416a.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs -mattr=+xqcili
codemodel-lowering.a3459e669b.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.a9b32d6a34.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.b5181cefcf.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.b6579a9a1d.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.b8255d7fd7.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.d169edc3f0.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.d33652c56c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.dd88dc3f72.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs
codemodel-lowering.e3ca0e0d69.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.f1fed882b0.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.