fallback: legalize: G_VECREDUCE_XOR <N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_XOR <N x i1> M |
| Occurrences: | 5 in 5 configs, 2 test files, 23 more counted only |
| Snippet from: | fixed-vectors-reduction-mask-vp.a4148eadfe.ll (mutant of fixed-vectors-reduction-mask-vp.ll) @vpreduce_xor_v16i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define zeroext i1 @vpreduce_xor_v16i1(i1 zeroext %s, <16 x i1> %v, <16 x i1> %m, i32 zeroext %evl) {
%r = call i1 @llvm.vp.reduce.xor.v16i1(i1 %s, <16 x i1> %v, <16 x i1> %m, i32 %evl)
%B = add i1 %r, %r
ret i1 %B
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.xor.v16i1(i1, <16 x i1>, <16 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %33:_(i1) = G_VECREDUCE_XOR %32:_(<16 x i1>) (in function: vpreduce_xor_v16i1)
warning: Instruction selection used fallback path for vpreduce_xor_v16i1
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-mask-vp.4045b2427b.ll (mutant of fixed-vectors-reduction-mask-vp.ll) | vpreduce_xor_v8i1 | -mtriple=riscv64 -verify-machineinstrs -O0 |
| fixed-vectors-reduction-mask-vp.a4148eadfe.ll (mutant of fixed-vectors-reduction-mask-vp.ll) | vpreduce_xor_v16i1 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| fixed-vectors-vreductions-mask.2b356dce66.ll (mutant of fixed-vectors-vreductions-mask.ll) | vreduce_xor_v2i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+c -O1 -code-model=small |
| fixed-vectors-vreductions-mask.8d4b64e2f8.ll (mutant of fixed-vectors-vreductions-mask.ll) | vreduce_xor_v1024i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+zfhmin -O2 |
| fixed-vectors-vreductions-mask.e4f5fb0fc9.ll (mutant of fixed-vectors-vreductions-mask.ll) | vreduce_xor_v256i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v,+zbb,+f -O3 -code-model=medium |
Generated 2026-11-29 14:49 UTC.