fallback: translate: srem <vscale x N x i32>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: srem <vscale x N x i32>
Occurrences:83 in 7 configs, 5 test files
Snippet from:vrem-sdnode.ll @vrem_vv_nxv1i32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 1 x i32> @vrem_vv_nxv1i32(<vscale x 1 x i32> %va, <vscale x 1 x i32> %vb) {
  %vc = srem <vscale x 1 x i32> %va, %vb
  ret <vscale x 1 x i32> %vc
}

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: srem: '  %vc = srem <vscale x 1 x i32> %va, %vb' (in function: vrem_vv_nxv1i32)
warning: Instruction selection used fallback path for vrem_vv_nxv1i32

Occurrences (83) (first 15):

InputFunctionConfig
sink-splat-operands.llsink_splat_srem_scalable-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
vrem-sdnode.llvrem_vv_nxv1i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vx_nxv1i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vi_nxv1i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vv_nxv2i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vx_nxv2i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vi_nxv2i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vv_nxv4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vx_nxv4i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vi_nxv4i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vv_nxv8i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vx_nxv8i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vi_nxv8i32_0-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vv_nxv16i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vrem-sdnode.llvrem_vx_nxv16i32-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.