fallback: translate: ashr <N x i32>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: ashr <N x i32> M
Occurrences:4 in 4 configs, 4 test files, 5 more counted only
Snippet from:rvp-simd-64.5f4c09e074.ll (mutant of rvp-simd-64.ll) @test_psra_ws_vec_shamt via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <2 x i32> @test_psra_ws_vec_shamt(<2 x i32> %a, <2 x i32> %b) {
  %res = ashr <2 x i32> %a, %b
  %B = udiv <2 x i32> %a, %res
  store <2 x i32> %B, ptr poison, align 8
  ret <2 x i32> %res
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ashr: '  %res = ashr <2 x i32> %a, %b' (in function: test_psra_ws_vec_shamt)
warning: Instruction selection used fallback path for test_psra_ws_vec_shamt

Occurrences (4):

InputFunctionConfig
double-calling-conv.7d03dab7e2.ll (mutant of double-calling-conv.ll)caller_double_inreg-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zdinx,+zvkb -O2
half-convert.0488fa35f8.ll (mutant of half-convert.ll)fcvt_lu_h_sat-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zfinx -O0
half-intrinsics.114b8474ac.ll (mutant of half-intrinsics.ll)asin_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin -O1
rvp-simd-64.5f4c09e074.ll (mutant of rvp-simd-64.ll)test_psra_ws_vec_shamt-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O2

Generated 2026-11-29 14:49 UTC.