fallback: translate: call llvm.vp.urem.nxv2i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.urem.nxv2i64 M |
| Occurrences: | 9 in 7 configs, 1 test files, 5 more counted only |
| Snippet from: | vremu-vp.87c3ba694b.ll (mutant of vremu-vp.ll) @vremu_vx_nxv2i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define <vscale x 2 x i64> @vremu_vx_nxv2i64(<vscale x 2 x i64> %va, i64 %b, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%LGV = load i8, ptr @G, align 1
%elt.head = insertelement <vscale x 2 x i64> poison, i64 %b, i32 0
%vb = shufflevector <vscale x 2 x i64> %elt.head, <vscale x 2 x i64> poison, <vscale x 2 x i32> zeroinitializer
%v = call <vscale x 2 x i64> @llvm.vp.urem.nxv2i64(<vscale x 2 x i64> %va, <vscale x 2 x i64> %vb, <vscale x 2 x i1> %m, i32 %evl)
%B = udiv i8 %LGV, -1
store i8 %B, ptr poison, align 1
ret <vscale x 2 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 2 x i64> @llvm.vp.urem.nxv2i64(<vscale x 2 x i64>, <vscale x 2 x i64>, <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.urem.nxv2i64: ' %v = call <vscale x 2 x i64> @llvm.vp.urem.nxv2i64(<vscale x 2 x i64> %va, <vscale x 2 x i64> %vb, <vscale x 2 x i1> %m, i32 %evl)' (in function: vremu_vx_nxv2i64)
warning: Instruction selection used fallback path for vremu_vx_nxv2i64
Occurrences (9):
| Input | Function | Config |
|---|
| vremu-vp.11f0999a14.ll (mutant of vremu-vp.ll) | vremu_vv_nxv2i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vremu-vp.12da02f312.ll (mutant of vremu-vp.ll) | vremu_vv_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb -O2 |
| vremu-vp.12e4232821.ll (mutant of vremu-vp.ll) | vremu_vv_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vremu-vp.19884a7a95.ll (mutant of vremu-vp.ll) | vremu_vv_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O1 |
| vremu-vp.2ca6f9d762.ll (mutant of vremu-vp.ll) | vremu_vx_nxv2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.6c7de2fb41.ll (mutant of vremu-vp.ll) | vremu_vv_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.6c7de2fb41.ll (mutant of vremu-vp.ll) | vremu_vx_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.87c3ba694b.ll (mutant of vremu-vp.ll) | vremu_vx_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vremu-vp.998d737ad6.ll (mutant of vremu-vp.ll) | vremu_vx_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
Generated 2026-11-29 14:49 UTC.