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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: srem <vscale x N x i1> M
Occurrences:5 in 5 configs, 5 test files, 108 more counted only
Snippet from:vitofp-sdnode.04ed12eafd.ll (mutant of vitofp-sdnode.ll) @vsitofp_nxv8i1_nxv8f32 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x float> @vsitofp_nxv8i1_nxv8f32(<vscale x 8 x i1> %va) {
  %B = srem <vscale x 8 x i1> %va, %va
  %evec = sitofp <vscale x 8 x i1> %B to <vscale x 8 x float>
  ret <vscale x 8 x float> %evec
}

Reproduce:

llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: srem: '  %B = srem <vscale x 8 x i1> %va, %va' (in function: vsitofp_nxv8i1_nxv8f32)
warning: Instruction selection used fallback path for vsitofp_nxv8i1_nxv8f32

Occurrences (5):

InputFunctionConfig
vfwcvt-bf-xu.35107aaa6c.ll (mutant of vfwcvt-bf-xu.ll)intrinsic_vfwcvt_f.xu.v_nxv4bf16_nxv4i8-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32d -mattr=+v,+experimental-zvfbfa,+c -O2
vitofp-sdnode.04ed12eafd.ll (mutant of vitofp-sdnode.ll)vsitofp_nxv8i1_nxv8f32-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zvfbfmin -O2
vlsseg-rv64.4843525782.ll (mutant of vlsseg-rv64.ll)test_vlsseg7_mask_nxv1f64_triscv.vector.tuple_nxv8i8_7t-mtriple=riscv64 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin -O1
vmsgeu.dd92f78aa3.ll (mutant of vmsgeu.ll)intrinsic_vmsgeu_mask_vi_nxv1i64_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vreductions-int-vp.112a37ab4b.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.