fallback: translate: call llvm.vp.reduce.or.nxv128i1
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.or.nxv128i1 M |
| Occurrences: | 9 in 8 configs, 1 test files, 3 more counted only |
| Snippet from: | vreductions-mask-vp.475bfc8999.ll (mutant of vreductions-mask-vp.ll) @vpreduce_or_nxv128i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define zeroext i1 @vpreduce_or_nxv128i1(i1 zeroext %s, <vscale x 128 x i1> %v, <vscale x 128 x i1> %m, i32 zeroext %evl) {
%r = call i1 @llvm.vp.reduce.or.nxv128i1(i1 %s, <vscale x 128 x i1> %v, <vscale x 128 x i1> %m, i32 %evl)
%B = mul i1 %r, %s
ret i1 %B
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.or.nxv128i1(i1, <vscale x 128 x i1>, <vscale x 128 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.or.nxv128i1: ' %r = call i1 @llvm.vp.reduce.or.nxv128i1(i1 %s, <vscale x 128 x i1> %v, <vscale x 128 x i1> %m, i32 %evl)' (in function: vpreduce_or_nxv128i1)
warning: Instruction selection used fallback path for vpreduce_or_nxv128i1
Occurrences (9):
| Input | Function | Config |
|---|
| vreductions-mask-vp.475bfc8999.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-mask-vp.5d78aa7573.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| vreductions-mask-vp.6369619288.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vreductions-mask-vp.8409d0a5ae.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O3 |
| vreductions-mask-vp.8dedbf3e92.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O2 -code-model=small |
| vreductions-mask-vp.b705c64ebb.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vreductions-mask-vp.c061c3b5a5.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb -O2 |
| vreductions-mask-vp.d2a2c4a43f.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+f -O2 |
| vreductions-mask-vp.f5635ba26b.ll (mutant of vreductions-mask-vp.ll) | vpreduce_or_nxv128i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
Generated 2026-11-29 14:49 UTC.