fallback: translate: call llvm.vp.reduce.xor.nxv2i32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.xor.nxv2i32 M |
| Occurrences: | 9 in 9 configs, 1 test files, 2 more counted only |
| Snippet from: | vreductions-int-vp.d0a35f5f1c.ll (mutant of vreductions-int-vp.ll) @vpreduce_xor_nxv2i32 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i32
define signext i32 @vpreduce_xor_nxv2i32(i32 signext %s, <vscale x 2 x i32> %v, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%r = call i32 @llvm.vp.reduce.xor.nxv2i32(i32 %s, <vscale x 2 x i32> %v, <vscale x 2 x i1> %m, i32 %evl)
%B = shl i32 %evl, %r
store i32 %B, ptr @G.4, align 4
ret i32 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vp.reduce.xor.nxv2i32(i32, <vscale x 2 x i32>, <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.xor.nxv2i32: ' %r = call i32 @llvm.vp.reduce.xor.nxv2i32(i32 %s, <vscale x 2 x i32> %v, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpreduce_xor_nxv2i32)
warning: Instruction selection used fallback path for vpreduce_xor_nxv2i32
Occurrences (9):
| Input | Function | Config |
|---|
| vreductions-int-vp.112a37ab4b.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-int-vp.145d839e58.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve32x,+a -O1 |
| vreductions-int-vp.5fa6c34bff.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb -O2 |
| vreductions-int-vp.7887b3a811.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vreductions-int-vp.c47eba39c3.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vreductions-int-vp.d0a35f5f1c.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O2 |
| vreductions-int-vp.d3ed8603a6.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-int-vp.e7fd4b17c7.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvbb -O2 |
| vreductions-int-vp.fd71eefa3c.ll (mutant of vreductions-int-vp.ll) | vpreduce_xor_nxv2i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 |
Generated 2026-11-29 14:49 UTC.