fallback: legalize: G_BLOCK_ADDR p0

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_BLOCK_ADDR p0
Occurrences:70 in 18 configs, 3 test files
Snippet from:fold-addi-loadstore.ll @load_ba_1 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs
Local check:reproduces at 04ca53e65f
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 (70) (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.30b180893c.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
blockaddress.681c0c3a63.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
blockaddress.8d84c6c007.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
blockaddress.a1953a84cd.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
blockaddress.d59c63cf36.ll (mutant of blockaddress.ll)test_blockaddress-mtriple=riscv32 -verify-machineinstrs
codemodel-lowering.04cd0f638f.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.060ad9b554.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.098f922fd7.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.0c8a8afd00.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.15a7f47cb5.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.1b5076882b.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.1c4da2db0b.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.37be02721c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.3e4c3a9270.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=medium -verify-machineinstrs
codemodel-lowering.3e60a4ac5c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.3fb097eb87.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.535b018bd0.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=large -verify-machineinstrs
codemodel-lowering.5d5ca2769e.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.5ddf952ae7.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=medium -verify-machineinstrs
codemodel-lowering.6209191d5c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+zfinx,+zhinx -target-abi=lp64 -code-model=small -verify-machineinstrs
codemodel-lowering.726311f282.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.77972fd407.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=medium -verify-machineinstrs
codemodel-lowering.79959cdfea.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.89ad26f491.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.8a5fe9eb14.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=small -verify-machineinstrs
codemodel-lowering.8fdccf964c.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=small -verify-machineinstrs
codemodel-lowering.936a303eb5.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.997c652794.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+f,+zfh -target-abi=ilp32f -code-model=medium -verify-machineinstrs
codemodel-lowering.99f07fc270.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.9c9e6818a7.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.a1d43c9cba.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv32 -mattr=+zfinx,+zhinx -target-abi=ilp32 -code-model=small -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.