fallback: legalize: G_STORE <N x i32~>,p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_STORE <N x i32~>,p0 M |
| Occurrences: | 3 in 3 configs, 1 test files, 3 more counted only |
| Snippet from: | fixed-vectors-zvdot4a8i.cccfe1fb2a.ll (mutant of fixed-vectors-zvdot4a8i.ll) @vdot4asu_vv_partial_v4i31_v16i7 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i31> @vdot4asu_vv_partial_v4i31_v16i7(<16 x i7> %a, <16 x i7> %b) {
entry:
%C = fcmp uge <4 x float> zeroinitializer, zeroinitializer
%a.ext = sext <16 x i7> %a to <16 x i31>
%b.ext = zext <16 x i7> %b to <16 x i31>
%mul = mul <16 x i31> %b.ext, %a.ext
%res = call <4 x i31> @llvm.vector.partial.reduce.add.v4i31.v16i31(<4 x i31> zeroinitializer, <16 x i31> %mul)
store <4 x i1> %C, ptr poison, align 1
ret <4 x i31> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i31> @llvm.vector.partial.reduce.add.v4i31.v16i31(<4 x i31>, <16 x i31>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: G_STORE %11:_(<4 x i31>), %2:_(p0) :: (store (<4 x i31>)) (in function: vdot4asu_vv_partial_v4i31_v16i7)
warning: Instruction selection used fallback path for vdot4asu_vv_partial_v4i31_v16i7
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-zvdot4a8i.01f62a5461.ll (mutant of fixed-vectors-zvdot4a8i.ll) | vdot4asu_vv_partial_v4i31_v16i7 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zcb -O2 |
| fixed-vectors-zvdot4a8i.a85e06611a.ll (mutant of fixed-vectors-zvdot4a8i.ll) | vdot4asu_vv_partial_v4i31_v16i7 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvbb -O2 |
| fixed-vectors-zvdot4a8i.cccfe1fb2a.ll (mutant of fixed-vectors-zvdot4a8i.ll) | vdot4asu_vv_partial_v4i31_v16i7 | -mtriple=riscv32 -verify-machineinstrs -O1 |
Generated 2026-11-29 14:49 UTC.