fallback: translate: lshr <N x i32>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: lshr <N x i32> M |
| Occurrences: | 4 in 4 configs, 4 test files, 7 more counted only |
| Snippet from: | fixed-vectors-vsrl-vp.a0f3fb3824.ll (mutant of fixed-vectors-vsrl-vp.ll) @vsrl_vi_v2i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i32> @vsrl_vi_v2i32(<2 x i32> %va, <2 x i1> %m, i32 zeroext %evl) {
%v = lshr <2 x i32> %va, splat (i32 4)
%I = insertelement <2 x i32> %v, i32 2147483647, i16 -1
ret <2 x i32> %I
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %v = lshr <2 x i32> %va, splat (i32 4)' (in function: vsrl_vi_v2i32)
warning: Instruction selection used fallback path for vsrl_vi_v2i32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-vror.b50fa3970e.ll (mutant of fixed-vectors-vror.ll) | vror_vi_v4i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvkb,+zdinx -O2 |
| fixed-vectors-vsrl-vp.a0f3fb3824.ll (mutant of fixed-vectors-vsrl-vp.ll) | vsrl_vi_v2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 |
| fp-fcanonicalize.bbf57340b4.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_v2f32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvkb -O0 |
| vdot4au.bdf29e7f.a8efc7a74b.ll (mutant of vdot4au.bdf29e7f.ll) | intrinsic_vdot4au_vx_nxv16i32_i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zdinx,+zbkb -O0 |
Generated 2026-11-29 14:49 UTC.