fallback: select: G_LOAD s32,p0,s16

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:select: G_LOAD s32,p0,s16
Occurrences:13 in 9 configs, 5 test files
Snippet from:fp16-promote.ll @test_fpextend_float via llvm-extract
Config:-mtriple=riscv32 -mattr +d -target-abi ilp32d
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define float @test_fpextend_float(ptr %p) #0 {
  %a = load half, ptr %p, align 2
  %r = fpext half %a to float
  ret float %r
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -mattr +d -target-abi ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr +d -target-abi ilp32d -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: cannot select: %3:fprb(s32) = G_LOAD %0:gprb(p0) :: (load (s16) from %ir.p) (in function: test_fpextend_float)
warning: Instruction selection used fallback path for test_fpextend_float

Occurrences (13):

InputFunctionConfig
fp16-promote.lltest_fpextend_float-mtriple=riscv32 -mattr +d -target-abi ilp32d
fp16-promote.lltest_fpextend_double-mtriple=riscv32 -mattr +d -target-abi ilp32d
calling-conv-ilp32f-ilp32d-common.1dd2161111.ll (mutant of calling-conv-ilp32f-ilp32d-common.ll)callee_float_in_fpr_exhausted_gprs-mtriple=riscv32 -verify-machineinstrs -mattr=+f -target-abi ilp32f
calling-conv-ilp32f-ilp32d-common.86dd6f3eae.ll (mutant of calling-conv-ilp32f-ilp32d-common.ll)callee_float_in_fpr_exhausted_gprs-mtriple=riscv32 -verify-machineinstrs -mattr=+d -target-abi ilp32d
copysign-casts.2643b945d7.ll (mutant of copysign-casts.ll)fold_promote_f_h-mtriple=riscv32 -verify-machineinstrs -mattr=+f -target-abi ilp32f
copysign-casts.5d0ae1aaac.ll (mutant of copysign-casts.ll)fold_promote_f_h-mtriple=riscv64 -verify-machineinstrs -mattr=+f -mattr=+d -target-abi lp64d
copysign-casts.db0006a952.ll (mutant of copysign-casts.ll)fold_promote_f_h-mtriple=riscv32 -verify-machineinstrs -mattr=+f -mattr=+d -target-abi ilp32d
double-select-fcmp.466f6059e5.ll (mutant of double-select-fcmp.ll)select_fcmp_ult-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
double-select-fcmp.905dea2f94.ll (mutant of double-select-fcmp.ll)select_fcmp_ult-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
float-select-fcmp.0be8f5a126.ll (mutant of float-select-fcmp.ll)select_fcmp_ult-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
float-select-fcmp.9aba5c2bd8.ll (mutant of float-select-fcmp.ll)select_fcmp_ult-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
fp16-promote.a02887179a.ll (mutant of fp16-promote.ll)test_fpextend_double-mtriple=riscv32 -mattr +d -target-abi ilp32d
fp16-promote.aab59a4083.ll (mutant of fp16-promote.ll)test_fpextend_double-mtriple=riscv32 -mattr +d -target-abi ilp32d

Generated 2026-10-15 08:05 UTC.