fallback: translate: ashr <N x i8>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: ashr <N x i8> M |
| Occurrences: | 3 in 3 configs, 3 test files, 15 more counted only |
| Snippet from: | rvp-narrowing-zip.f9037f5c99.ll (mutant of rvp-narrowing-zip.ll) @test_pnziph_v4i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zbkb,+zhinx -O2 -code-model=medium |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i8> @test_pnziph_v4i8(<2 x i16> %a, <2 x i16> %b) {
%B = ashr <8 x i8> splat (i8 -128), splat (i8 127)
%ca = bitcast <2 x i16> %a to <4 x i8>
%cb = bitcast <2 x i16> %b to <4 x i8>
%r = shufflevector <4 x i8> %ca, <4 x i8> %cb, <4 x i32> <i32 1, i32 5, i32 3, i32 7>
store <8 x i8> %B, ptr poison, align 8
ret <4 x i8> %r
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zbkb,+zhinx -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zbkb,+zhinx -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: ashr: ' %B = ashr <8 x i8> splat (i8 -128), splat (i8 127)' (in function: test_pnziph_v4i8)
warning: Instruction selection used fallback path for test_pnziph_v4i8
Occurrences (3):
| Input | Function | Config |
|---|
| half-round-conv.f573cf779f.ll (mutant of half-round-conv.ll) | test_ceil_si64 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx -O3 |
| memmove.ae7e80fb00.ll (mutant of memmove.ll) | aligned_memmove8 | -mtriple=riscv64 -mattr=+unaligned-scalar-mem,+zhinx -O0 -verify-machineinstrs |
| rvp-narrowing-zip.f9037f5c99.ll (mutant of rvp-narrowing-zip.ll) | test_pnziph_v4i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zbkb,+zhinx -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.