fallback: translate: call llvm.vp.reduce.smin.nxv8i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.smin.nxv8i1 M |
| Occurrences: | 6 in 6 configs, 1 test files |
| Snippet from: | vreductions-mask-vp.380fbe0138.ll (mutant of vreductions-mask-vp.ll) @vpreduce_smin_nxv8i1 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i32
define zeroext i1 @vpreduce_smin_nxv8i1(i1 zeroext %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%r = call i1 @llvm.vp.reduce.smin.nxv8i1(i1 %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 %evl)
%B = shl i32 %evl, 0
store i32 %B, ptr @G.1, align 4
ret i1 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.smin.nxv8i1(i1, <vscale x 8 x i1>, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.smin.nxv8i1: ' %r = call i1 @llvm.vp.reduce.smin.nxv8i1(i1 %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpreduce_smin_nxv8i1)
warning: Instruction selection used fallback path for vpreduce_smin_nxv8i1
Occurrences (6):
| Input | Function | Config |
|---|
| vreductions-mask-vp.0729f5338c.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -code-model=small |
| vreductions-mask-vp.0f37a8aa4b.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vreductions-mask-vp.2e0f7e1403.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -code-model=medium |
| vreductions-mask-vp.380fbe0138.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O0 |
| vreductions-mask-vp.7bee638931.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr -O2 |
| vreductions-mask-vp.a4a3deff91.ll (mutant of vreductions-mask-vp.ll) | vpreduce_smin_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 -code-model=small |
Generated 2026-11-29 14:49 UTC.