fallback: legalize: G_INSERT_VECTOR_ELT <32 x s16>,s16,s32
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_INSERT_VECTOR_ELT <32 x s16>,s16,s32 NEW |
| Occurrences: | 3 in 3 configs, 1 test files |
| Snippet from: | fastcc-without-f-reg.12929ce6b6.ll (mutant of fastcc-without-f-reg.ll) @callee_half_32 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | https://godbolt.org/z/fsqzcbv1d (llc-assertions-trunk, checked 2026-10-14 11:50 UTC): G reproduces |
Snippet:
define fastcc <32 x half> @callee_half_32(<32 x half> %A) {
%I = insertelement <32 x half> %A, half 0.000000e+00, i64 0
ret <32 x half> %I
}
Compiler Explorer panes:
| Pane | Options | Exit | Insts | stderr |
|---|
| GlobalISel | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 62 | remark: <unknown>:0:0: unable to legalize instruction: %56:_(<32 x s16>) = G_INSERT_VECTOR_ELT %0:_, %57:_(s16), %58:_(s32) (in function: callee_half_32) warning: Instruction selection used fallback path for callee_half_32 |
| SelectionDAG (control) | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -global-isel=0 | 0 | 62 | - |
Reproduce:
llc -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %56:_(<32 x s16>) = G_INSERT_VECTOR_ELT %0:_, %57:_(s16), %58:_(s32) (in function: callee_half_32)
warning: Instruction selection used fallback path for callee_half_32
Occurrences (3):
| Input | Function | Config |
|---|
| fastcc-without-f-reg.12929ce6b6.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs |
| fastcc-without-f-reg.a3f11e5b02.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs |
| fastcc-without-f-reg.f70cd5021d.ll (mutant of fastcc-without-f-reg.ll) | callee_half_32 | -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.