fallback: select: G_INSERT_VECTOR_ELT <vscale x N x bf16>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:select: G_INSERT_VECTOR_ELT <vscale x N x bf16> M
Occurrences:3 in 3 configs, 3 test files, 37 more counted only
Snippet from:floor-vp.86b5400ecb.ll (mutant of floor-vp.ll) @vp_floor_nxv1bf16_unmasked via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global bfloat

define <vscale x 1 x bfloat> @vp_floor_nxv1bf16_unmasked(<vscale x 1 x bfloat> %va, i32 zeroext %evl) {
  %LGV = load bfloat, ptr @G, align 2
  %I = insertelement <vscale x 1 x bfloat> %va, bfloat %LGV, i8 0
  ret <vscale x 1 x bfloat> %I
}

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: cannot select: %4:vrb(<vscale x 1 x bf16>) = G_INSERT_VECTOR_ELT %0:vrb, %2:gprb(bf16), %5:gprb(i32) (in function: vp_floor_nxv1bf16_unmasked)
warning: Instruction selection used fallback path for vp_floor_nxv1bf16_unmasked

Occurrences (3):

InputFunctionConfig
floor-vp.86b5400ecb.ll (mutant of floor-vp.ll)vp_floor_nxv1bf16_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O2
vfwcvtbf16-f-f.7988b05756.ll (mutant of vfwcvtbf16-f-f.ll)intrinsic_vfwcvtbf16_mask_f.f.v_nxv1f32_nxv1bf16-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+zvfbfmin -O3
vslidedown.dfec99d1a5.ll (mutant of vslidedown.ll)intrinsic_vslidedown_vx_nxv16bf16_nxv16bf16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zvfhmin,+zvfbfmin,+zbb -O2

Generated 2026-11-29 14:49 UTC.