fallback: select: G_INSERT_VECTOR_ELT <vscale x N x bf16>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | select: G_INSERT_VECTOR_ELT <vscale x N x bf16> M |
| Occurrences: | 3 in 3 configs, 3 test files, 32 more counted only |
| Snippet from: | vfmerge-bf.98914c1dfe.ll (mutant of vfmerge-bf.ll) @intrinsic_vfmerge_vzm_nxv2bf16_nxv2bf16_bf16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+c -O1 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global bfloat
@G.5 = external global i16
; Function Attrs: nounwind
define <vscale x 2 x bfloat> @intrinsic_vfmerge_vzm_nxv2bf16_nxv2bf16_bf16(<vscale x 2 x bfloat> %0, <vscale x 2 x i1> %1, i32 %2) #0 {
entry:
%LGV1 = load i16, ptr @G.5, align 2
%LGV = load bfloat, ptr @G.4, align 2
%I = insertelement <vscale x 2 x bfloat> %0, bfloat %LGV, i16 %LGV1
ret <vscale x 2 x bfloat> %I
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+c -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+c -O1 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: cannot select: %7:vrb(<vscale x 2 x bf16>) = G_INSERT_VECTOR_ELT %0:vrb, %5:gprb(bf16), %8:gprb(i32) (in function: intrinsic_vfmerge_vzm_nxv2bf16_nxv2bf16_bf16)
warning: Instruction selection used fallback path for intrinsic_vfmerge_vzm_nxv2bf16_nxv2bf16_bf16
Occurrences (3):
| Input | Function | Config |
|---|
| vfmerge-bf.98914c1dfe.ll (mutant of vfmerge-bf.ll) | intrinsic_vfmerge_vzm_nxv2bf16_nxv2bf16_bf16 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+c -O1 -code-model=medium |
| vfwmsac-bf.ddec3ec5f5.ll (mutant of vfwmsac-bf.ll) | intrinsic_vfwmsac_vv_nxv4f32_nxv4bf16_nxv4bf16 | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+experimental-zvfbfa -O2 |
| vloxei.6b2be8190e.ll (mutant of vloxei.ll) | intrinsic_vloxei_mask_v_nxv16bf16_nxv16bf16_nxv16i32 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+zvfbfmin,+a -O2 |
Generated 2026-11-29 14:49 UTC.