fallback: translate: call llvm.vp.reduce.xor.nxv1i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.reduce.xor.nxv1i64 M
Occurrences:7 in 7 configs, 1 test files, 1 more counted only
Snippet from:vreductions-int-vp.0c5e265479.ll (mutant of vreductions-int-vp.ll) @vpreduce_xor_nxv1i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zicsr -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define signext i64 @vpreduce_xor_nxv1i64(i64 signext %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %r = call i64 @llvm.vp.reduce.xor.nxv1i64(i64 %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 %evl)
  %C = icmp sle i64 %s, 0
  store i1 %C, ptr @G, align 1
  ret i64 %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vp.reduce.xor.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=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zicsr -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zicsr -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.xor.nxv1i64: '  %r = call i64 @llvm.vp.reduce.xor.nxv1i64(i64 %s, <vscale x 1 x i64> %v, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpreduce_xor_nxv1i64)
warning: Instruction selection used fallback path for vpreduce_xor_nxv1i64

Occurrences (7):

InputFunctionConfig
vreductions-int-vp.02fd4afda5.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfh -O3
vreductions-int-vp.0604b4d49c.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vreductions-int-vp.0c5e265479.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zicsr -O1
vreductions-int-vp.ae9a7f2989.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+m,+zba -O1 -code-model=medium
vreductions-int-vp.c0d17ddc8f.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a,+zvfh -O3
vreductions-int-vp.c874545487.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr,+xtheadba -O1
vreductions-int-vp.e832de320f.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zba -O2

Generated 2026-11-29 14:49 UTC.