fallback: legalize: G_ASHR <4 x s16>
| Run: | explore-bc8218b282-20261015-075519 |
| Kind: | fallback |
| Category: | legalize: G_ASHR <4 x s16> |
| Occurrences: | 4 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-64.ll @test_psrai_h 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 <4 x i16> @test_psrai_h(<4 x i16> %a) {
%res = ashr <4 x i16> %a, splat (i16 2)
ret <4 x i16> %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:_(<4 x s16>) = G_ASHR %0:_, %1:_(<4 x s16>) (in function: test_psrai_h)
warning: Instruction selection used fallback path for test_psrai_h
Occurrences (4):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_psrai_h | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psra_hs | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psra_hs_mask | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_psext_b_v4i16 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.