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

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_INSERT_VECTOR_ELT <8 x s8>,s8,s64
Occurrences:118 in 86 configs, 58 test files
Snippet from:rvp-simd-64.ll @test_insert_vector_8 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 <8 x i8> @test_insert_vector_8(<8 x i8> %a, i8 %val) {
  %res = insertelement <8 x i8> %a, i8 %val, i32 0
  ret <8 x i8> %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:_(<8 x s8>) = G_INSERT_VECTOR_ELT %0:_, %1:_(s8), %4:_(s64) (in function: test_insert_vector_8)
warning: Instruction selection used fallback path for test_insert_vector_8

Occurrences (118) (first 50):

InputFunctionConfig
rvp-simd-64.lltest_insert_vector_8-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_insert_vector_8_elem3-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
aext.193eef95ae.ll (mutant of aext.ll)aext-mtriple=riscv64 -verify-machineinstrs
atomic-cmpxchg-flag.0f8d17a881.ll (mutant of atomic-cmpxchg-flag.ll)cmpxchg_i32_seq_cst_seq_cst-mtriple=riscv64 -mattr=+a -verify-machineinstrs
attributes-andes.0db81bedd3.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesvpackfph
attributes-andes.72dad39808.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesvbfhcvt
attributes-andes.750bd7585f.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesbfhcvt
attributes-andes.81cdb9c550.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesvsinth
attributes-andes.8df436d4a5.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesperf
attributes-andes.a097039e9a.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesvsintload
attributes-andes.aa97e4bea8.ll (mutant of attributes-andes.ll)addi-mtriple=riscv64 -mattr=+xandesvdot
attributes-module-flag.fdfa3efa49.ll (mutant of attributes-module-flag.ll)addi-mtriple=riscv64
attributes-qc.550021bc33.ll (mutant of attributes-qc.ll)addi-mtriple=riscv64 -mattr=+xqccmp
attributes-sifive.056797e4cc.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32t
attributes-sifive.14052f6caa.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a16f
attributes-sifive.149d9ab65f.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm16t
attributes-sifive.4a1c0b2fb3.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a8f
attributes-sifive.4ac6344eba.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm128t
attributes-sifive.4d27d30d3d.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a8i,+xsfmm32a16f,+xsfmm32a32f
attributes-sifive.4fb721479f.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a8i
attributes-sifive.67fbb7809f.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm64a64f
attributes-sifive.6e71c6fab0.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a32f
attributes-sifive.71b548af82.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm32a
attributes-sifive.8736df5780.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmmbase
attributes-sifive.877e9598fc.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfvfwmaccqqq
attributes-sifive.a5e1757eb0.ll (mutant of attributes-sifive.ll)addi-mtriple=riscv64 -mattr=+xsfmm64t
attributes-thead.03bc1eaa04.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadba
attributes-thead.090f529d66.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadfmemidx
attributes-thead.5585d45dc3.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadmempair
attributes-thead.6ce415a324.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadcmo
attributes-thead.7539820f31.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadmac
attributes-thead.8b3763666d.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadcondmov
attributes-thead.a2b009c422.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadbb
attributes-thead.b187eabc1e.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadvdot
attributes-thead.f3c2aab3f9.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadsync
attributes-thead.fbe2f7c211.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadbs
attributes-thead.fe47c58e97.ll (mutant of attributes-thead.ll)addi-mtriple=riscv64 -mattr=+xtheadmemidx
bitextract-mac.1a366b1adc.ll (mutant of bitextract-mac.ll)f-mtriple=riscv64 -mattr=+xtheadmac -mattr=+xtheadbb -mattr=+m -verify-machineinstrs
bitextract-mac.a3378d8aa1.ll (mutant of bitextract-mac.ll)f-mtriple=riscv64 -mattr=+zbb -mattr=+m -verify-machineinstrs
bitextract-mac.b11a030eda.ll (mutant of bitextract-mac.ll)f-mtriple=riscv64 -mattr=+xtheadbb -mattr=+m -verify-machineinstrs
bitextract-mac.cf54a3fa5b.ll (mutant of bitextract-mac.ll)f-mtriple=riscv64 -mattr=+m -verify-machineinstrs
bitextract-mac.d570180762.ll (mutant of bitextract-mac.ll)f-mtriple=riscv64 -mattr=+xtheadmac -mattr=+m -verify-machineinstrs
constpool-known-bits.30df728bcd.ll (mutant of constpool-known-bits.ll)test-O0 -mtriple=riscv64 -mattr=+m -relocation-model=pic
constpool-known-bits.9892dd7d26.ll (mutant of constpool-known-bits.ll)test-O0 -mtriple=riscv64 -mattr=+m
debug-line.aa2248f24d.ll (mutant of debug-line.ll)foo-mtriple=riscv64
double-frem.8f1219cacb.ll (mutant of double-frem.ll)frem_f64-mtriple=riscv64 -mattr=+d -verify-machineinstrs
double-frem.e37c694b71.ll (mutant of double-frem.ll)frem_f64-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs
emit-x8-as-fp.0e4bfaecf2.ll (mutant of emit-x8-as-fp.ll)add-mtriple=riscv64 -verify-machineinstrs
emit-x8-as-fp.761ccf9a77.ll (mutant of emit-x8-as-fp.ll)add-mtriple=riscv64 -M emit-x8-as-fp -verify-machineinstrs
emit-x8-as-fp.83a9229e7c.ll (mutant of emit-x8-as-fp.ll)add-mtriple=riscv64 -M numeric -M emit-x8-as-fp -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.