fallback: translate: call llvm.vp.urem.nxv4i16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.urem.nxv4i16 M |
| Occurrences: | 5 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | vremu-vp.b91ab1c8b2.ll (mutant of vremu-vp.ll) @vremu_vv_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb,+xtheadba -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <vscale x 4 x i16> @vremu_vv_nxv4i16(<vscale x 4 x i16> %va, <vscale x 4 x i16> %b, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 4 x i16> @llvm.vp.urem.nxv4i16(<vscale x 4 x i16> %va, <vscale x 4 x i16> %b, <vscale x 4 x i1> %m, i32 %evl)
%C = icmp ule i32 %evl, %evl
store i1 %C, ptr @G, align 1
ret <vscale x 4 x i16> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 4 x i16> @llvm.vp.urem.nxv4i16(<vscale x 4 x i16>, <vscale x 4 x i16>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb,+xtheadba -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.urem.nxv4i16: ' %v = call <vscale x 4 x i16> @llvm.vp.urem.nxv4i16(<vscale x 4 x i16> %va, <vscale x 4 x i16> %b, <vscale x 4 x i1> %m, i32 %evl)' (in function: vremu_vv_nxv4i16)
warning: Instruction selection used fallback path for vremu_vv_nxv4i16
Occurrences (5):
| Input | Function | Config |
|---|
| vremu-vp.30ccb06dff.ll (mutant of vremu-vp.ll) | vremu_vv_nxv4i16_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vremu-vp.81781a854b.ll (mutant of vremu-vp.ll) | vremu_vv_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicond -O3 |
| vremu-vp.b91ab1c8b2.ll (mutant of vremu-vp.ll) | vremu_vv_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb,+xtheadba -O2 |
| vremu-vp.dde7a4422e.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.fce0d6db76.ll (mutant of vremu-vp.ll) | vremu_vx_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+f -O3 -code-model=medium |
Generated 2026-11-29 14:49 UTC.