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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.reduce.xor.nxv16i1 M
Occurrences:8 in 8 configs, 1 test files, 3 more counted only
Snippet from:vreductions-mask-vp.43dbd3d7eb.ll (mutant of vreductions-mask-vp.ll) @vpreduce_xor_nxv16i1 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+c -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i1

define zeroext i1 @vpreduce_xor_nxv16i1(i1 zeroext %s, <vscale x 16 x i1> %v, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %r = call i1 @llvm.vp.reduce.xor.nxv16i1(i1 %s, <vscale x 16 x i1> %v, <vscale x 16 x i1> %m, i32 %evl)
  %B = sub i1 %r, %s
  store i1 %B, ptr @G, align 1
  ret i1 %r
}

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

Local llc output:

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

Occurrences (8):

InputFunctionConfig
vreductions-mask-vp.43dbd3d7eb.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+c -O1
vreductions-mask-vp.487d522fab.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr,+zve32x -O2
vreductions-mask-vp.79d85e99b3.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve64d -O1
vreductions-mask-vp.9f092e1c30.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2
vreductions-mask-vp.a433b2e1a0.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve32x -O0
vreductions-mask-vp.bcc77eb27a.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O3 -code-model=medium
vreductions-mask-vp.c388a1b07a.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a -O3
vreductions-mask-vp.ff9d52f965.ll (mutant of vreductions-mask-vp.ll)vpreduce_xor_nxv16i1-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3

Generated 2026-11-29 14:49 UTC.