fallback: translate: call llvm.vp.srem.nxv8i32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.srem.nxv8i32 M |
| Occurrences: | 5 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | vrem-vp.48628e96a5.ll (mutant of vrem-vp.ll) @vrem_vv_nxv8i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbb,+f -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 8 x i32> @vrem_vv_nxv8i32(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 8 x i32> @llvm.vp.srem.nxv8i32(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, <vscale x 8 x i1> %m, i32 %evl)
%C = icmp eq <vscale x 8 x i32> %b, %va
store <vscale x 8 x i1> %C, ptr poison, align 1
ret <vscale x 8 x i32> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 8 x i32> @llvm.vp.srem.nxv8i32(<vscale x 8 x i32>, <vscale x 8 x i32>, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbb,+f -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbb,+f -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.srem.nxv8i32: ' %v = call <vscale x 8 x i32> @llvm.vp.srem.nxv8i32(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, <vscale x 8 x i1> %m, i32 %evl)' (in function: vrem_vv_nxv8i32)
warning: Instruction selection used fallback path for vrem_vv_nxv8i32
Occurrences (5):
| Input | Function | Config |
|---|
| vrem-vp.024c476878.ll (mutant of vrem-vp.ll) | vrem_vx_nxv8i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vrem-vp.3555a826ce.ll (mutant of vrem-vp.ll) | vrem_vv_nxv8i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zcb -O0 |
| vrem-vp.46fd63567e.ll (mutant of vrem-vp.ll) | vrem_vv_nxv8i32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vrem-vp.48628e96a5.ll (mutant of vrem-vp.ll) | vrem_vv_nxv8i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbb,+f -O0 |
| vrem-vp.fe6ad2d4ad.ll (mutant of vrem-vp.ll) | vrem_vx_nxv8i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 -code-model=small |
Generated 2026-11-29 14:49 UTC.