fallback: translate: insertelement <N x float>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: insertelement <N x float> M
Occurrences:3 in 3 configs, 3 test files, 11 more counted only
Snippet from:add-imm.a91de83eaa.ll (mutant of add-imm.ll) @add32_sext_accept via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x float>

; Function Attrs: nounwind
define signext i32 @add32_sext_accept(i32 signext %a) #0 {
  %I = insertelement <4 x float> splat (float 1.401300e-45), float f0x7F7FFFFF, i128 0
  %1 = add i32 %a, 2999
  store <4 x float> %I, ptr @G, align 16
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: insertelement: '  %I = insertelement <4 x float> splat (float 1.401300e-45), float f0x7F7FFFFF, i128 0' (in function: add32_sext_accept)
warning: Instruction selection used fallback path for add32_sext_accept

Occurrences (3):

InputFunctionConfig
add-imm.a91de83eaa.ll (mutant of add-imm.ll)add32_sext_accept-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3
float-isnan.97c32bbcab.ll (mutant of float-isnan.ll)float_not_nan-mtriple=riscv64 -target-abi lp64 -verify-machineinstrs -mattr=+zfinx -O0
llvm.frexp.aab50b96f4.ll (mutant of llvm.frexp.ll)test_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O1

Generated 2026-11-29 14:49 UTC.