fallback: translate: call llvm.vp.urem.nxv16i32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.urem.nxv16i32 M |
| Occurrences: | 6 in 6 configs, 1 test files, 6 more counted only |
| Snippet from: | vremu-vp.3aeeb47486.ll (mutant of vremu-vp.ll) @vremu_vv_nxv16i32_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
define <vscale x 16 x i32> @vremu_vv_nxv16i32_unmasked(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b, i32 zeroext %evl) {
%v = call <vscale x 16 x i32> @llvm.vp.urem.nxv16i32(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b, <vscale x 16 x i1> splat (i1 true), i32 %evl)
%B = xor i16 1, 256
store i16 %B, ptr @G, align 2
ret <vscale x 16 x i32> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 16 x i32> @llvm.vp.urem.nxv16i32(<vscale x 16 x i32>, <vscale x 16 x i32>, <vscale x 16 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.urem.nxv16i32: ' %v = call <vscale x 16 x i32> @llvm.vp.urem.nxv16i32(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b, <vscale x 16 x i1> splat (i1 true), i32 %evl)' (in function: vremu_vv_nxv16i32_unmasked)
warning: Instruction selection used fallback path for vremu_vv_nxv16i32_unmasked
Occurrences (6):
| Input | Function | Config |
|---|
| vremu-vp.3aeeb47486.ll (mutant of vremu-vp.ll) | vremu_vv_nxv16i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.44ecc919c1.ll (mutant of vremu-vp.ll) | vremu_vv_nxv16i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zve64d -O0 |
| vremu-vp.6c7de2fb41.ll (mutant of vremu-vp.ll) | vremu_vx_nxv16i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vremu-vp.91c9706a8c.ll (mutant of vremu-vp.ll) | vremu_vv_nxv16i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb,+zve32x -O3 |
| vremu-vp.9dc00425d9.ll (mutant of vremu-vp.ll) | vremu_vx_nxv16i32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause,+f -O0 |
| vremu-vp.b28b2fd75b.ll (mutant of vremu-vp.ll) | vremu_vv_nxv16i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 -code-model=medium |
Generated 2026-11-29 14:49 UTC.