fallback: translate: lshr <vscale x N x i32>
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | translate: lshr <vscale x N x i32> |
| Occurrences: | 46 in 10 configs, 10 test files |
| Snippet from: | mul-combine.ll @test_nxv2i32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 2 x i32> @test_nxv2i32(<vscale x 2 x i32> %x) {
%1 = lshr <vscale x 2 x i32> %x, splat (i32 15)
%2 = and <vscale x 2 x i32> %1, splat (i32 65537)
%3 = mul <vscale x 2 x i32> %2, splat (i32 65535)
ret <vscale x 2 x i32> %3
}
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 translate instruction: lshr: ' %1 = lshr <vscale x 2 x i32> %x, splat (i32 15)' (in function: test_nxv2i32)
warning: Instruction selection used fallback path for test_nxv2i32
Occurrences (46) (first 15):
| Input | Function | Config |
|---|
| and-add-lsr.ll | and_add_lsr_vec2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v |
| and-add-lsr.ll | and_add_lsr_vec2 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v |
| constant-folding.ll | scalable | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| constant-folding.ll | scalable | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| mul-combine.ll | test_nxv2i32 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| mul-combine.ll | test_nxv2i32 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| sink-splat-operands.ll | sink_splat_lshr_scalable | -mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f |
| vsrl-sdnode.ll | vsrl_vx_nxv1i32 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv1i32_0 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv2i32 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv2i32_0 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv4i32 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv4i32_0 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv8i32 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vsrl-sdnode.ll | vsrl_vx_nxv8i32_0 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.