fallback: translate: call llvm.vp.reduce.or.nxv1i64
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.or.nxv1i64 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | vreductions-int-vp.0711ce5e6b.ll (mutant of vreductions-int-vp.ll) @vpreduce_or_nxv1i64 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i1
define signext i64 @vpreduce_or_nxv1i64(i64 signext %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%C = fcmp true half 4.200000e+01, 1.000000e+00
%r = call i64 @llvm.vp.reduce.or.nxv1i64(i64 %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 %evl)
store i1 %C, ptr @G.3, align 1
ret i64 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vp.reduce.or.nxv1i64(i64, <vscale x 1 x i64>, <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.or.nxv1i64: ' %r = call i64 @llvm.vp.reduce.or.nxv1i64(i64 %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpreduce_or_nxv1i64)
warning: Instruction selection used fallback path for vpreduce_or_nxv1i64
Occurrences (2):
| Input | Function | Config |
|---|
| vreductions-int-vp.0711ce5e6b.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv1i64 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
| vreductions-int-vp.44262d36ad.ll (mutant of vreductions-int-vp.ll) | vpreduce_or_nxv1i64 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.