fallback: legalize: G_INSERT_VECTOR_ELT <4 x s16>,s16,s64
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_INSERT_VECTOR_ELT <4 x s16>,s16,s64 |
| Occurrences: | 6 in 3 configs, 3 test files |
| Snippet from: | rvp-simd-64.ll @test_insert_vector_16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i16> @test_insert_vector_16(<4 x i16> %a, i16 %val) {
%res = insertelement <4 x i16> %a, i16 %val, i32 0
ret <4 x i16> %res
}
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(<4 x s16>) = G_INSERT_VECTOR_ELT %0:_, %1:_(s16), %4:_(s64) (in function: test_insert_vector_16)
warning: Instruction selection used fallback path for test_insert_vector_16
Occurrences (6):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_insert_vector_16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_insert_vector_16_elem2 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| srem-vector-lkk.6e2dde5b7e.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv64 -verify-machineinstrs |
| srem-vector-lkk.793f1d424e.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv64 -mattr=+m -verify-machineinstrs |
| urem-vector-lkk.1cbd95fbce.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv64 -verify-machineinstrs |
| urem-vector-lkk.d45977884a.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv64 -mattr=+m -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.