fallback: legalize: G_ASHR <8 x s8>

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_ASHR <8 x s8>
Occurrences:7 in 5 configs, 2 test files
Snippet from:rvp-simd-64.ll @test_psrai_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_psrai_b(<8 x i8> %a) {
  %res = ashr <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_ASHR %0:_, %1:_(<8 x s8>) (in function: test_psrai_b)
warning: Instruction selection used fallback path for test_psrai_b

Occurrences (7):

InputFunctionConfig
rvp-simd-64.lltest_psrai_b-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_psra_bs-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_psra_bs_mask-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
prolog-epilogue.555f95f1d5.ll (mutant of prolog-epilogue.ll)frame_16kb-mtriple=riscv32 -verify-machineinstrs
prolog-epilogue.a877352008.ll (mutant of prolog-epilogue.ll)frame_16kb-mtriple=riscv32 -verify-machineinstrs -mattr=+zba
prolog-epilogue.fd6740d3a6.ll (mutant of prolog-epilogue.ll)frame_16kb-mtriple=riscv64 -verify-machineinstrs
prolog-epilogue.fd77eef80e.ll (mutant of prolog-epilogue.ll)frame_16kb-mtriple=riscv64 -verify-machineinstrs -mattr=+zba

Generated 2026-10-15 08:05 UTC.