fallback: select: G_GLOBAL_VALUE p0

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:select: G_GLOBAL_VALUE p0
Occurrences:230 in 29 configs, 10 test files
Snippet from:tls-models.ll @f1 via llvm-extract
Config:-mtriple=riscv32
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@unspecified = external thread_local global i32

; Function Attrs: nounwind
define ptr @f1() #0 {
entry:
  ret ptr @unspecified
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: cannot select: %0:gprb(p0) = G_GLOBAL_VALUE @unspecified (in function: f1)
warning: Instruction selection used fallback path for f1

Occurrences (230) (first 50):

InputFunctionConfig
codemodel-lowering.lllower_global-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.lllower_blockaddress-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.lllower_extern_weak-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
codemodel-lowering.lllower_global_half-mtriple=riscv64 -mattr=+f,+zfh -target-abi=lp64f -code-model=large -verify-machineinstrs
emutls.llget_external_x-mtriple=riscv32 -emulated-tls -relocation-model=pic
emutls.llget_y-mtriple=riscv32 -emulated-tls -relocation-model=pic
emutls.llget_internal_z-mtriple=riscv32 -emulated-tls -relocation-model=pic
emutls.llget_external_x-mtriple=riscv64 -emulated-tls -relocation-model=pic
emutls.llget_y-mtriple=riscv64 -emulated-tls -relocation-model=pic
emutls.llget_internal_z-mtriple=riscv64 -emulated-tls -relocation-model=pic
fold-addi-loadstore.llload_tl_4-mtriple=riscv32 -verify-machineinstrs
fold-addi-loadstore.llload_tl_8-mtriple=riscv32 -verify-machineinstrs
fold-addi-loadstore.llload_tl_4-mtriple=riscv32 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_tl_8-mtriple=riscv32 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_tl_4-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcili<
fold-addi-loadstore.llload_tl_8-mtriple=riscv32 -verify-machineinstrs -mattr=+xqcili<
fold-addi-loadstore.llload_tl_4-mtriple=riscv64 -verify-machineinstrs
fold-addi-loadstore.llload_tl_8-mtriple=riscv64 -verify-machineinstrs
fold-addi-loadstore.llload_g_0-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_g_1-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_g_2-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_g_4-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_g_8-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_g_16-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llstore_g_4-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llstore_g_8-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llinc_g_i32-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_ga-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_ga_8-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_ga_16-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_tl_4-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_tl_8-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llcrash-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llpr134525-mtriple=riscv64 -verify-machineinstrs -code-model=large
fold-addi-loadstore.llload_tl_4-mtriple=riscv64 -verify-machineinstrs -code-model=medium
fold-addi-loadstore.llload_tl_8-mtriple=riscv64 -verify-machineinstrs -code-model=medium
machinelicm-address-pseudos.lltest_la_tls_ie-mtriple=riscv32 -relocation-model=pic -verify-machineinstrs
machinelicm-address-pseudos.lltest_la_tls_gd-mtriple=riscv32 -relocation-model=pic -verify-machineinstrs
machinelicm-address-pseudos.lltest_la_tls_ie-mtriple=riscv32 -relocation-model=pic -verify-machineinstrs -mattr=+fusion-auipc-addi
machinelicm-address-pseudos.lltest_la_tls_gd-mtriple=riscv32 -relocation-model=pic -verify-machineinstrs -mattr=+fusion-auipc-addi
machinelicm-address-pseudos.lltest_la_tls_ie-mtriple=riscv64 -relocation-model=pic -verify-machineinstrs
machinelicm-address-pseudos.lltest_la_tls_gd-mtriple=riscv64 -relocation-model=pic -verify-machineinstrs
machinelicm-address-pseudos.lltest_la_tls_ie-mtriple=riscv64 -relocation-model=pic -verify-machineinstrs -mattr=+fusion-auipc-addi
machinelicm-address-pseudos.lltest_la_tls_gd-mtriple=riscv64 -relocation-model=pic -verify-machineinstrs -mattr=+fusion-auipc-addi
tail-calls.llcaller_extern-code-model=large -mtriple=riscv32 -verify-machineinstrs
tail-calls.llcaller_extern_pgso-code-model=large -mtriple=riscv32 -verify-machineinstrs
tail-calls.llcaller_indirect_tail-code-model=large -mtriple=riscv32 -verify-machineinstrs
tail-calls.llcaller_nostruct-code-model=large -mtriple=riscv32 -verify-machineinstrs
tail-calls.llcaller_extern-code-model=large -mtriple=riscv64 -verify-machineinstrs
tail-calls.llcaller_extern_pgso-code-model=large -mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.