fallback: translate: call llvm.vp.reduce.or.nxv4i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.or.nxv4i64 M |
| Occurrences: | 6 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | vreductions-int-vp.875fd4ba89.ll (mutant of vreductions-int-vp.ll) @vpreduce_or_nxv4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define signext i64 @vpreduce_or_nxv4i64(i64 signext %s, <vscale x 4 x i64> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%B = udiv i32 %evl, %evl
%r = call i64 @llvm.vp.reduce.or.nxv4i64(i64 %s, <vscale x 4 x i64> %v, <vscale x 4 x i1> %m, i32 %B)
ret i64 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vp.reduce.or.nxv4i64(i64, <vscale x 4 x i64>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.or.nxv4i64: ' %r = call i64 @llvm.vp.reduce.or.nxv4i64(i64 %s, <vscale x 4 x i64> %v, <vscale x 4 x i1> %m, i32 %B)' (in function: vpreduce_or_nxv4i64)
warning: Instruction selection used fallback path for vpreduce_or_nxv4i64
Occurrences (6):
| Input | Function | Config |
|---|
| vreductions-int-vp.17162117dd.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O2 |
| vreductions-int-vp.3c7a101873.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vreductions-int-vp.51d0ce62f9.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+m -O3 |
| vreductions-int-vp.58b76fba19.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d -O2 |
| vreductions-int-vp.703f789c51.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vreductions-int-vp.875fd4ba89.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
Generated 2026-11-29 14:49 UTC.