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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.reduce.xor.nxv1i16 M
Occurrences:6 in 6 configs, 1 test files, 3 more counted only
Snippet from:vreductions-int-vp.5bb9eb58d9.ll (mutant of vreductions-int-vp.ll) @vpreduce_xor_nxv1i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define signext i16 @vpreduce_xor_nxv1i16(i16 signext %s, <vscale x 1 x i16> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %B = sub <vscale x 1 x i16> %v, zeroinitializer
  %r = call i16 @llvm.vp.reduce.xor.nxv1i16(i16 %s, <vscale x 1 x i16> %B, <vscale x 1 x i1> %m, i32 %evl)
  ret i16 %r
}

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vreductions-int-vp.59c0862ccb.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vreductions-int-vp.5bb9eb58d9.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb -O1
vreductions-int-vp.64d2de8d71.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1
vreductions-int-vp.7c4f147040.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause -O0
vreductions-int-vp.921f9813cf.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+zvbb -O1
vreductions-int-vp.aa55ff5951.ll (mutant of vreductions-int-vp.ll)vpreduce_xor_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=medium

Generated 2026-11-29 14:49 UTC.