fallback: legalize: G_ASHR <8 x s8>

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_ASHR <8 x s8>
Occurrences:95 in 89 configs, 15 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 (95) (first 50):

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
allow-check.004d72ba57.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv64 -fast-isel=0
allow-check.8796e6dcf4.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv32 -fast-isel=0
fixed-csr.bc0a7b5eab.ll (mutant of fixed-csr.ll)foo-mtriple=riscv64 -mattr=+reserve-x24
get-register-reserve.342d927ecd.ll (mutant of get-register-reserve.ll)get_reg_a1-mtriple=riscv32 -mattr +reserve-x8 -mattr +reserve-x11
ghccc-rv32.5bfe040a5d.ll (mutant of ghccc-rv32.ll)foo-mtriple=riscv32 -mattr=+f,+d
ghccc-rv64.9c729c0b7d.ll (mutant of ghccc-rv64.ll)foo-mtriple=riscv64 -mattr=+f,+d
graalcc.1a4b18ee2a.ll (mutant of graalcc.ll)keep_live-mtriple=riscv64
graalcc.ebb43da527.ll (mutant of graalcc.ll)keep_live-mtriple=riscv32
init-array.0d94130113.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv32-unknown-linux-gnu -verify-machineinstrs
init-array.1cd5d8f182.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors
init-array.316cb55c84.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv64-unknown-linux-gnu -verify-machineinstrs
init-array.6978a8cfc3.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv64-unknown-elf -verify-machineinstrs
init-array.702b67bbc8.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv32-unknown-elf -verify-machineinstrs -use-ctors
init-array.8a86d05b2a.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv64-unknown-linux-gnu -verify-machineinstrs -use-ctors
init-array.bd68d47771.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv32-unknown-elf -verify-machineinstrs
init-array.c04801557c.ll (mutant of init-array.ll)_GLOBAL__I_a-mtriple=riscv32-unknown-linux-gnu -verify-machineinstrs -use-ctors
ipra.1f0e515839.ll (mutant of ipra.ll)main-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all -enable-ipra
ipra.34226dcfa6.ll (mutant of ipra.ll)main-mtriple=riscv64 -verify-machineinstrs -frame-pointer=all -enable-ipra
ipra.493c2446cd.ll (mutant of ipra.ll)main-mtriple=riscv32 -verify-machineinstrs -enable-ipra
ipra.86d4f66c94.ll (mutant of ipra.ll)main-mtriple=riscv64 -verify-machineinstrs -enable-ipra
large-stack.62a305ac40.ll (mutant of large-stack.ll)test-mtriple=riscv32 -verify-machineinstrs
large-stack.d9227041ab.ll (mutant of large-stack.ll)test-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all
pr58025.56d16b304a.ll (mutant of pr58025.ll)f-mtriple=riscv64
reserved-regs.00ee291b89.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x15 -verify-machineinstrs
reserved-regs.09a9b61a7c.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x21 -verify-machineinstrs
reserved-regs.0c3f15580a.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x3 -verify-machineinstrs
reserved-regs.15885939c8.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x29 -verify-machineinstrs
reserved-regs.181aa9dbd8.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x7 -verify-machineinstrs
reserved-regs.1f6b0fab92.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x28 -verify-machineinstrs
reserved-regs.2a2f65824a.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x25 -verify-machineinstrs
reserved-regs.2b54124468.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x13 -verify-machineinstrs
reserved-regs.2f30f3c16b.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x23 -verify-machineinstrs
reserved-regs.2f661001ea.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x31 -verify-machineinstrs
reserved-regs.3277a06b47.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x8 -verify-machineinstrs
reserved-regs.4240b8bfd9.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x12 -verify-machineinstrs
reserved-regs.4c400f3bf2.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x14 -verify-machineinstrs
reserved-regs.4dd21fcfb9.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x19 -verify-machineinstrs
reserved-regs.4e91cf9efd.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x11 -verify-machineinstrs
reserved-regs.531bb7ad36.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x4 -verify-machineinstrs
reserved-regs.56177d1f09.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x13 -verify-machineinstrs
reserved-regs.586bccf4fe.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x8 -verify-machineinstrs
reserved-regs.631b79f2dd.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x7 -verify-machineinstrs
reserved-regs.64b13b08b3.ll (mutant of reserved-regs.ll)foo-mtriple=riscv64 -mattr=+reserve-x23 -verify-machineinstrs
reserved-regs.6c878448f9.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x9 -verify-machineinstrs
reserved-regs.73a8306817.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x14 -verify-machineinstrs
reserved-regs.78ec3a7a6d.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x3 -verify-machineinstrs
reserved-regs.79e55f179f.ll (mutant of reserved-regs.ll)foo-mtriple=riscv32 -mattr=+reserve-x12 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.