fallback: translate: call llvm.vp.reduce.umin.nxv16i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.umin.nxv16i1 M |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | vreductions-mask-vp.54fc84570c.ll (mutant of vreductions-mask-vp.ll) @vpreduce_umin_nxv16i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zba,+zve32x -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
define zeroext i1 @vpreduce_umin_nxv16i1(i1 zeroext %s, <vscale x 16 x i1> %v, <vscale x 16 x i1> %m, i32 zeroext %evl) {
%B = lshr i16 256, -1
%r = call i1 @llvm.vp.reduce.umin.nxv16i1(i1 %s, <vscale x 16 x i1> %v, <vscale x 16 x i1> %m, i32 %evl)
store i16 %B, ptr @G, align 2
ret i1 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.umin.nxv16i1(i1, <vscale x 16 x i1>, <vscale x 16 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zba,+zve32x -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zba,+zve32x -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.umin.nxv16i1: ' %r = call i1 @llvm.vp.reduce.umin.nxv16i1(i1 %s, <vscale x 16 x i1> %v, <vscale x 16 x i1> %m, i32 %evl)' (in function: vpreduce_umin_nxv16i1)
warning: Instruction selection used fallback path for vpreduce_umin_nxv16i1
Occurrences (6):
| Input | Function | Config |
|---|
| vreductions-mask-vp.34396b6476.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=medium |
| vreductions-mask-vp.54fc84570c.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zba,+zve32x -O3 |
| vreductions-mask-vp.ad78a7fdba.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfhmin,+a -O3 |
| vreductions-mask-vp.affd12f834.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zbb -O3 -code-model=small |
| vreductions-mask-vp.bb454f4df7.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfhmin -O1 |
| vreductions-mask-vp.bde385f036.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umin_nxv16i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb -O3 |
Generated 2026-11-29 14:49 UTC.