fallback: legalize: G_INSERT_VECTOR_ELT <8 x s8>,s8,s32

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_INSERT_VECTOR_ELT <8 x s8>,s8,s32 NEW
Occurrences:118 in 101 configs, 40 test files
Snippet from:attributes-andes.049e6784a3.ll (mutant of attributes-andes.ll) @addi via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+xandesvdot
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/h5fjYPe4K (llc-assertions-trunk, checked 2026-10-15 08:04 UTC): G reproduces

Snippet:

define <8 x i8> @addi(<8 x i8> %LGV) {
SW_D:
  %I = insertelement <8 x i8> %LGV, i8 0, i64 0
  ret <8 x i8> %I
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+xandesvdot -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*016remark: <unknown>:0:0: unable to legalize instruction: %3:_(<8 x s8>) = G_INSERT_VECTOR_ELT %0:_, %4:_(s8), %5:_(s32) (in function: addi)
warning: Instruction selection used fallback path for addi
SelectionDAG (control)-mtriple=riscv32 -mattr=+xandesvdot -global-isel=0016-

Reproduce:

llc -mtriple=riscv32 -mattr=+xandesvdot -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+xandesvdot -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(<8 x s8>) = G_INSERT_VECTOR_ELT %0:_, %4:_(s8), %5:_(s32) (in function: addi)
warning: Instruction selection used fallback path for addi

Occurrences (118) (first 50):

InputFunctionConfig
aext.09df3cd5ce.ll (mutant of aext.ll)aext-mtriple=riscv32 -verify-machineinstrs
align.46e26477f7.ll (mutant of align.ll)foo-mtriple=riscv32 -verify-machineinstrs
align.e27d6e9ed4.ll (mutant of align.ll)foo-mtriple=riscv32 -mattr=+c -verify-machineinstrs
attributes-andes.049e6784a3.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesvdot
attributes-andes.401f020946.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesvsinth
attributes-andes.62ecfd0505.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesvsintload
attributes-andes.860b073e6c.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesvpackfph
attributes-andes.92046aa66e.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesbfhcvt
attributes-andes.afb2eaeedf.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesvbfhcvt
attributes-andes.bced1fd917.ll (mutant of attributes-andes.ll)addi-mtriple=riscv32 -mattr=+xandesperf
attributes-module-flag.d6ab0105db.ll (mutant of attributes-module-flag.ll)addi-mtriple=riscv32
attributes-qc.02e71ddb13.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcibm
attributes-qc.078c8e9530.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcilo
attributes-qc.089030488c.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcilia
attributes-qc.08cdaed966.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcia,+xqciac,+xqcibi,+xqcibm,+xqcicli,+xqcicm,+xqcics,+xqcicsr,+xqciint -mattr=+xqciio,+xqcilb,+xqcili,+xqcilia,+xqcilo,+xqcilsm,+xqcisim,+xqcisls,+xqcisync
attributes-qc.19d985d410.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqccmp
attributes-qc.1a26bfee37.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqci
attributes-qc.209dc9eebe.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcisim
attributes-qc.2954827353.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqciac
attributes-qc.2f5b0879c2.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcilb
attributes-qc.5094866a3d.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcibi
attributes-qc.74c25c4eb8.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcisls
attributes-qc.84f48c25ba.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcia
attributes-qc.8984425dfa.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcisync
attributes-qc.8f3cefa1ef.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcili
attributes-qc.95828d7024.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqciio
attributes-qc.97400f39e1.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcicli
attributes-qc.a6a58c1c98.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcics
attributes-qc.aff809e697.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcicsr
attributes-qc.e97beaf037.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqciint
attributes-qc.f80e9905a6.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcicm
attributes-qc.fa2831503f.ll (mutant of attributes-qc.ll)addi-mtriple=riscv32 -mattr=+xqcilsm
attributes-sifive.031d70161f.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm32t
attributes-sifive.05c0905909.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmmbase
attributes-sifive.212bb7b436.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm128t
attributes-sifive.838abef79c.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm16t
attributes-sifive.8402673091.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm32a32f
attributes-sifive.85721cd870.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm32a16f
attributes-sifive.8630d340f6.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm64t
attributes-sifive.912012038c.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfvfwmaccqqq
attributes-sifive.9dce81cacd.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm32a8f
attributes-sifive.a12dd0a39a.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm32a8i
attributes-sifive.b2c096375e.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv32 -mattr=+xsfmm64a64f
attributes-thead.27d638d4ef.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadfmemidx
attributes-thead.39ccf0936d.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadcondmov
attributes-thead.6680326d01.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadcmo
attributes-thead.8a3f87546f.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadbb
attributes-thead.c1d6a884f0.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadmemidx
attributes-thead.cb41ce9697.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadvdot
attributes-thead.cb7572af74.ll (mutant of attributes-thead.ll)addi-mtriple=riscv32 -mattr=+xtheadba

Generated 2026-10-15 08:05 UTC.