fallback: legalize: G_INSERT_VECTOR_ELT <N x f16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_INSERT_VECTOR_ELT <N x f16> M |
| Occurrences: | 3 in 3 configs, 3 test files, 20 more counted only |
| Snippet from: | fixed-vectors-vfneg-sdnode.99771e641c.ll (mutant of fixed-vectors-vfneg-sdnode.ll) @v2f16 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+experimental-zvfbfa -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <2 x half> @v2f16(<2 x half> %va) {
%LGV = load i1, ptr @G, align 1
%vb = fneg <2 x half> %va
%I = insertelement <2 x half> %vb, half +qnan, i1 %LGV
ret <2 x half> %I
}
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+experimental-zvfbfa -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+experimental-zvfbfa -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %7:_(<2 x f16>) = G_INSERT_VECTOR_ELT %6:_, %8:_(f16), %9:_(i32) (in function: v2f16)
warning: Instruction selection used fallback path for v2f16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vfneg-sdnode.99771e641c.ll (mutant of fixed-vectors-vfneg-sdnode.ll) | v2f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+experimental-zvfbfa -O1 |
| fp-fcanonicalize.506f08b19b.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v4f16_nnan | --mtriple=riscv64 -mattr=+d,+zfh -O1 -verify-machineinstrs |
| llvm.exp10.2dccdad309.ll (mutant of llvm.exp10.ll) | exp10_v3f16 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+d -O2 |
Generated 2026-11-29 14:49 UTC.