fallback: legalize: G_ASHR <N x i64>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_ASHR <N x i64> |
| Occurrences: | 37 in 23 configs, 7 test files |
| Snippet from: | fixed-vectors-int.ll @ashr_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define void @ashr_v2i64(ptr %x, ptr %y) {
%a = load <2 x i64>, ptr %x, align 16
%b = load <2 x i64>, ptr %y, align 16
%c = ashr <2 x i64> %a, %b
store <2 x i64> %c, ptr %x, align 16
ret void
}
Reproduce:
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x i64>) = G_ASHR %2:_, %3:_(<2 x i64>) (in function: ashr_v2i64)
warning: Instruction selection used fallback path for ashr_v2i64
Occurrences (37) (first 15):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_paadd_w | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_pasub_w | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_pmulh_v2i32 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_v2i64 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_v4i64 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_vi_v2i64 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_v2i64 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_v4i64 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| fixed-vectors-int.ll | ashr_vi_v2i64 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| smulh.ll | smulh_v2i32 | -mtriple=riscv32 -mattr=+m |
| smulh.ll | smulh_v4i32 | -mtriple=riscv32 -mattr=+m |
| smulh.ll | smulh_v3i32 | -mtriple=riscv32 -mattr=+m |
| smulh.ll | smulh_v2i32 | -mtriple=riscv64 -mattr=+m |
| smulh.ll | smulh_v4i32 | -mtriple=riscv64 -mattr=+m |
| smulh.ll | smulh_v3i32 | -mtriple=riscv64 -mattr=+m |
Generated 2026-11-29 14:49 UTC.