fallback: select: G_LOAD s32,p0,s16

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:select: G_LOAD s32,p0,s16
Occurrences:11 in 6 configs, 4 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 bc8218b282
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 (11):

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
double-intrinsics.f5789d026d.ll (mutant of double-intrinsics.ll)lround_i32_f64-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
double-intrinsics.fadf1d97e2.ll (mutant of double-intrinsics.ll)lround_i32_f64-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
float-br-fcmp.3c51011ce9.ll (mutant of float-br-fcmp.ll)br_fcmp_oeq_alt-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
float-br-fcmp.4352c1392d.ll (mutant of float-br-fcmp.ll)br_fcmp_oeq_alt-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
fp16-promote.6848224835.ll (mutant of fp16-promote.ll)test_fpextend_float-mtriple=riscv32 -mattr +d -target-abi ilp32d
fp16-promote.cb23e9c485.ll (mutant of fp16-promote.ll)test_fpextend_double-mtriple=riscv32 -mattr +d -target-abi ilp32d
fpclamptosat.c707234159.ll (mutant of fpclamptosat.ll)ustest_f16i32-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
fpclamptosat.cf2faebbde.ll (mutant of fpclamptosat.ll)ustest_f16i32-mtriple=riscv64 -mattr=+f,+d -verify-machineinstrs -target-abi=lp64d
fpclamptosat.e8e944938e.ll (mutant of fpclamptosat.ll)ustest_f16i32-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f

Generated 2026-10-15 08:05 UTC.