fallback: translate: urem <vscale x N x i1>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: urem <vscale x N x i1> M
Occurrences:7 in 7 configs, 7 test files, 72 more counted only
Snippet from:fixed-vectors-uitofp-vp-mask.ba05590807.ll (mutant of fixed-vectors-uitofp-vp-mask.ll) @vuitofp_v4f64_v4i1 via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+v,+zvfh -O2 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x double> @vuitofp_v4f64_v4i1(<4 x i1> %va, <4 x i1> %m, i32 zeroext %evl) {
  %B = urem <vscale x 4 x i1> splat (i1 true), zeroinitializer
  %v = uitofp <4 x i1> %va to <4 x double>
  store <vscale x 4 x i1> %B, ptr poison, align 1
  ret <4 x double> %v
}

Reproduce:

llc -mtriple=riscv64 -mattr=+m,+v,+zvfh -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+v,+zvfh -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: urem: '  %B = urem <vscale x 4 x i1> splat (i1 true), zeroinitializer' (in function: vuitofp_v4f64_v4i1)
warning: Instruction selection used fallback path for vuitofp_v4f64_v4i1

Occurrences (7):

InputFunctionConfig
commutable-zvdot4a8i.03b03cd958.ll (mutant of commutable-zvdot4a8i.ll)commutable_vdot4au_vv_masked-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64x,+experimental-zvdot4a8i,+zve32x,+zdinx -O2
fixed-vectors-uitofp-vp-mask.ba05590807.ll (mutant of fixed-vectors-uitofp-vp-mask.ll)vuitofp_v4f64_v4i1-mtriple=riscv64 -mattr=+m,+v,+zvfh -O2 -verify-machineinstrs
mask-exts-not.727cfcacea.ll (mutant of mask-exts-not.ll)mask_sext_not_nxv8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O0
nearbyint-vp.1eb652db00.ll (mutant of nearbyint-vp.ll)vp_nearbyint_nxv2bf16-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v -O0
vfncvt-x-bf.e0bbacc37f.ll (mutant of vfncvt-x-bf.ll)intrinsic_vfncvt_mask_x.f.w_nxv16i8_nxv16bf16-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+zvbb -O0
vloxseg-rv64.4d777b37f3.ll (mutant of vloxseg-rv64.ll)test_vloxseg2_mask_nxv8i32_triscv.vector.tuple_nxv32i8_2t_nxv8i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbb -O1
vremu-vp.51b46a8edc.ll (mutant of vremu-vp.ll)vremu_vx_nxv4i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O0

Generated 2026-11-29 14:49 UTC.