fallback: translate: call llvm.vp.urem.nxv4i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.urem.nxv4i64 M |
| Occurrences: | 6 in 6 configs, 1 test files, 9 more counted only |
| Snippet from: | vremu-vp.c6b5dbbd8e.ll (mutant of vremu-vp.ll) @vremu_vv_nxv4i64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i64
define <vscale x 4 x i64> @vremu_vv_nxv4i64_unmasked(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, i32 zeroext %evl) {
%B = srem i64 -9223372036854775808, -1
%v = call <vscale x 4 x i64> @llvm.vp.urem.nxv4i64(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, <vscale x 4 x i1> splat (i1 true), i32 %evl)
store i64 %B, ptr @G.1, align 4
ret <vscale x 4 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 4 x i64> @llvm.vp.urem.nxv4i64(<vscale x 4 x i64>, <vscale x 4 x i64>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.urem.nxv4i64: ' %v = call <vscale x 4 x i64> @llvm.vp.urem.nxv4i64(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vremu_vv_nxv4i64_unmasked)
warning: Instruction selection used fallback path for vremu_vv_nxv4i64_unmasked
Occurrences (6):
| Input | Function | Config |
|---|
| vremu-vp.12da02f312.ll (mutant of vremu-vp.ll) | vremu_vv_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb -O2 |
| vremu-vp.44ecc919c1.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zve64d -O0 |
| vremu-vp.673f85b9b1.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+m,+zicsr -O2 |
| vremu-vp.9d0c6cb6ca.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vremu-vp.9dc00425d9.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause,+f -O0 |
| vremu-vp.c6b5dbbd8e.ll (mutant of vremu-vp.ll) | vremu_vv_nxv4i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
Generated 2026-11-29 14:49 UTC.