fallback: legalize: G_ASHR <8 x s8>
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_ASHR <8 x s8> |
| Occurrences: | 4 in 2 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 bc8218b282 |
| 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 (4):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_psrai_b | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psra_bs | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psra_bs_mask | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| xcvbitmanip.7ca24f046d.ll (mutant of xcvbitmanip.ll) | test.cv.extract | -O0 -mtriple=riscv32 -mattr=+xcvbitmanip -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.