fallback: translate: call llvm.vp.urem.nxv8i64

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.urem.nxv8i64 M
Occurrences:7 in 5 configs, 1 test files, 3 more counted only
Snippet from:vremu-vp.91c9706a8c.ll (mutant of vremu-vp.ll) @vremu_vx_nxv8i64_unmasked via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zve32x -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i64> @vremu_vx_nxv8i64_unmasked(<vscale x 8 x i64> %va, i64 %b, i32 zeroext %evl) {
  %elt.head = insertelement <vscale x 8 x i64> poison, i64 %b, i32 0
  %vb = shufflevector <vscale x 8 x i64> poison, <vscale x 8 x i64> %elt.head, <vscale x 8 x i32> zeroinitializer
  %v = call <vscale x 8 x i64> @llvm.vp.urem.nxv8i64(<vscale x 8 x i64> %va, <vscale x 8 x i64> %vb, <vscale x 8 x i1> splat (i1 true), i32 %evl)
  ret <vscale x 8 x i64> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 8 x i64> @llvm.vp.urem.nxv8i64(<vscale x 8 x i64>, <vscale x 8 x i64>, <vscale x 8 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zve32x -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zve32x -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.urem.nxv8i64: '  %v = call <vscale x 8 x i64> @llvm.vp.urem.nxv8i64(<vscale x 8 x i64> %va, <vscale x 8 x i64> %vb, <vscale x 8 x i1> splat (i1 true), i32 %evl)' (in function: vremu_vx_nxv8i64_unmasked)
warning: Instruction selection used fallback path for vremu_vx_nxv8i64_unmasked

Occurrences (7):

InputFunctionConfig
vremu-vp.1a0412c9fc.ll (mutant of vremu-vp.ll)vremu_vv_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve32x -O1
vremu-vp.259c19ac39.ll (mutant of vremu-vp.ll)vremu_vx_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vremu-vp.259c19ac39.ll (mutant of vremu-vp.ll)vremu_vx_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vremu-vp.3aeeb47486.ll (mutant of vremu-vp.ll)vremu_vx_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vremu-vp.673f85b9b1.ll (mutant of vremu-vp.ll)vremu_vx_nxv8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+m,+zicsr -O2
vremu-vp.91c9706a8c.ll (mutant of vremu-vp.ll)vremu_vx_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zve32x -O3
vremu-vp.e4471b24ae.ll (mutant of vremu-vp.ll)vremu_vv_nxv8i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.