fallback: legalize: G_INSERT_VECTOR_ELT <4 x s16>,s16,s32
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_INSERT_VECTOR_ELT <4 x s16>,s16,s32 NEW |
| Occurrences: | 4 in 2 configs, 2 test files |
| Snippet from: | urem-vector-lkk.8c140ec3a1.ll (mutant of urem-vector-lkk.ll) @fold_urem_vec_2 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
; Function Attrs: nounwind
define <4 x i16> @fold_urem_vec_2(<4 x i16> %x) #0 {
%LGV = load i16, ptr @G, align 2
%I = insertelement <4 x i16> %x, i16 %LGV, i1 false
ret <4 x i16> %I
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<4 x s16>) = G_INSERT_VECTOR_ELT %0:_, %3:_(s16), %6:_(s32) (in function: fold_urem_vec_2)
warning: Instruction selection used fallback path for fold_urem_vec_2
Occurrences (4):
| Input | Function | Config |
|---|
| srem-vector-lkk.d3e2b929c3.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv32 -mattr=+m -verify-machineinstrs |
| srem-vector-lkk.f2cd8c0d55.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv32 -verify-machineinstrs |
| urem-vector-lkk.8c140ec3a1.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -mattr=+m -verify-machineinstrs |
| urem-vector-lkk.f72d6f8a59.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.