fallback: select: G_LOAD s32,p0,s16

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:select: G_LOAD s32,p0,s16
Occurrences:19 in 12 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 (19):

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-arith.ab72b9afc6.ll (mutant of double-arith.ll)fneg_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
double-arith.c8ec8b1374.ll (mutant of double-arith.ll)fneg_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
float-arith.a577ebaec4.ll (mutant of float-arith.ll)fneg_s-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
float-arith.f0009489f2.ll (mutant of float-arith.ll)fneg_s-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
fp16-promote.7677e6cff7.ll (mutant of fp16-promote.ll)test_fpextend_float-mtriple=riscv32 -mattr +d -target-abi ilp32d
fpclamptosat.0a29402cf9.ll (mutant of fpclamptosat.ll)stest_f16i32-mtriple=riscv64 -mattr=+f,+d -verify-machineinstrs -target-abi=lp64d
fpclamptosat.224a84d66a.ll (mutant of fpclamptosat.ll)utesth_f16i16_mm-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
fpclamptosat.243234fd21.ll (mutant of fpclamptosat.ll)stest_f16i32-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
fpclamptosat.4782eb98e6.ll (mutant of fpclamptosat.ll)stest_f16i32-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
fpclamptosat.9691e08350.ll (mutant of fpclamptosat.ll)utesth_f16i16_mm-mtriple=riscv64 -mattr=+f,+d -verify-machineinstrs -target-abi=lp64d
fpclamptosat.b928c318cf.ll (mutant of fpclamptosat.ll)utesth_f16i16_mm-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
fpclamptosat.fb87fbdaa7.ll (mutant of fpclamptosat.ll)utesth_f16i16_mm-mtriple=riscv32 -mattr=+f,+d -verify-machineinstrs -target-abi=ilp32d
vararg.26ed983401.ll (mutant of vararg.ll)va1-mtriple=riscv32 -mattr=+d -target-abi ilp32f -verify-machineinstrs
vararg.a0b3cc9df1.ll (mutant of vararg.ll)va1-mtriple=riscv64 -mattr=+d -target-abi lp64f -verify-machineinstrs
vararg.abe9a2e801.ll (mutant of vararg.ll)va1-mtriple=riscv32 -mattr=+d -target-abi ilp32d -verify-machineinstrs
vararg.ed753317d4.ll (mutant of vararg.ll)va1-mtriple=riscv64 -mattr=+d -target-abi lp64d -verify-machineinstrs
vararg.fbe942dce5.ll (mutant of vararg.ll)va1-mtriple=riscv32 -mattr=+d -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.