fallback: legalize: G_LSHR <8 x s8>

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_LSHR <8 x s8>
Occurrences:25 in 19 configs, 11 test files
Snippet from:rvp-simd-64.ll @test_psrli_b via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <8 x i8> @test_psrli_b(<8 x i8> %a) {
  %res = lshr <8 x i8> %a, splat (i8 2)
  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_LSHR %0:_, %1:_(<8 x s8>) (in function: test_psrli_b)
warning: Instruction selection used fallback path for test_psrli_b

Occurrences (25):

InputFunctionConfig
rvp-simd-64.lltest_psrli_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_psrl_bs-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_psrl_bs_mask-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_pudiv_mulhu_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
double-stack-spill-restore.b376b3bb13.ll (mutant of double-stack-spill-restore.ll)func-mtriple=riscv64 -mattr=+zdinx -target-abi=lp64 -verify-machineinstrs
double-stack-spill-restore.bc766b93fa.ll (mutant of double-stack-spill-restore.ll)func-mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs
double-stack-spill-restore.f1fa1069fc.ll (mutant of double-stack-spill-restore.ll)func-mtriple=riscv64 -mattr=+d -target-abi=lp64 -verify-machineinstrs
double-stack-spill-restore.f6ff3f797f.ll (mutant of double-stack-spill-restore.ll)func-mtriple=riscv32 -mattr=+zdinx -target-abi=ilp32 -verify-machineinstrs
epilog-crash.a77003d07e.ll (mutant of epilog-crash.ll)test-mtriple=riscv64
jump-cond-merging-optsize.900ea0cf77.ll (mutant of jump-cond-merging-optsize.ll)or_cmp-mtriple=riscv64 -verify-machineinstrs
jump-cond-merging-optsize.900ea0cf77.ll (mutant of jump-cond-merging-optsize.ll)or_cmp-mtriple=riscv64 -verify-machineinstrs
load-setcc-combine.b3be1ad3fa.ll (mutant of load-setcc-combine.ll)zext_nonneg_load_i16-mtriple=riscv64
machine-combiner-strategies.5363bbe76c.ll (mutant of machine-combiner-strategies.ll)test_local_strategy-mtriple=riscv32 -verify-machineinstrs -mcpu=syntacore-scr1-max -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=local
machine-combiner-strategies.6a51e27112.ll (mutant of machine-combiner-strategies.ll)test_local_strategy-mtriple=riscv32 -verify-machineinstrs -mcpu=syntacore-scr1-max -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=min-instr
machine-combiner-strategies.b41537ee68.ll (mutant of machine-combiner-strategies.ll)test_local_strategy-mtriple=riscv64 -verify-machineinstrs -mcpu=sifive-u74 -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=min-instr
machine-combiner-strategies.c523145de6.ll (mutant of machine-combiner-strategies.ll)test_local_strategy-mtriple=riscv64 -verify-machineinstrs -mcpu=sifive-u74 -O1 -riscv-enable-machine-combiner=true -riscv-force-machine-combiner-strategy=local
pr101786.bc89023075.ll (mutant of pr101786.ll)test--mtriple=riscv64
push-pop-opt-crash.1d90d936fd.ll (mutant of push-pop-opt-crash.ll)f0-mattr=+zcmp -verify-machineinstrs -mtriple=riscv32 -target-abi=ilp32
push-pop-opt-crash.ff235e75f3.ll (mutant of push-pop-opt-crash.ll)f0-mattr=+zcmp -verify-machineinstrs -mtriple=riscv64 -target-abi=lp64
rv32-move-merge-crash.2997a4afa7.ll (mutant of rv32-move-merge-crash.ll)test-mtriple=riscv32 -mattr=+m,+xqccmp -verify-machineinstrs
rv32-move-merge-crash.577a0ae4f7.ll (mutant of rv32-move-merge-crash.ll)test-mtriple=riscv64 -mattr=+m,+zcmp,+experimental-p -verify-machineinstrs
rv32-move-merge-crash.866add240a.ll (mutant of rv32-move-merge-crash.ll)test-mtriple=riscv32 -mattr=+m,+zcmp,+experimental-p -verify-machineinstrs
rv32-move-merge-crash.b7e7043746.ll (mutant of rv32-move-merge-crash.ll)test-mtriple=riscv32 -mattr=+m,+zcmp -verify-machineinstrs
stack-protector-vector-clobber.bd438192db.ll (mutant of stack-protector-vector-clobber.ll)test_stack_protector_with_vector_clobber-mtriple=riscv64 -mattr=+v
trunc-free.6272f5eb06.ll (mutant of trunc-free.ll)foo-mtriple=riscv64

Generated 2026-10-15 08:05 UTC.