fallback: legalize: G_MUL <N x i1>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | legalize: G_MUL <N x i1> M |
| Occurrences: | 3 in 3 configs, 1 test files, 2 more counted only |
| Snippet from: | fixed-vectors-vmul-vp-mask.613dc79aaf.ll (mutant of fixed-vectors-vmul-vp-mask.ll) @vmul_vv_v2i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb -O0 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i32
define <2 x i1> @vmul_vv_v2i1(<2 x i1> %va, <2 x i1> %b, <2 x i1> %m, i32 zeroext %evl) {
%LGV = load i32, ptr @G.4, align 4
%B = lshr i32 %evl, %LGV
%v = mul <2 x i1> %va, %b
store i32 %B, ptr @G.4, align 4
ret <2 x i1> %v
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %16:_(<2 x i1>) = G_MUL %0:_, %1:_ (in function: vmul_vv_v2i1)
warning: Instruction selection used fallback path for vmul_vv_v2i1
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vmul-vp-mask.613dc79aaf.ll (mutant of fixed-vectors-vmul-vp-mask.ll) | vmul_vv_v2i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb -O0 -code-model=small |
| fixed-vectors-vmul-vp-mask.9cabe116a9.ll (mutant of fixed-vectors-vmul-vp-mask.ll) | vmul_vv_v2i1 | -mtriple=riscv64 -verify-machineinstrs -O1 -code-model=medium |
| fixed-vectors-vmul-vp-mask.d77e0ab290.ll (mutant of fixed-vectors-vmul-vp-mask.ll) | vmul_vv_v2i1 | -mtriple=riscv64 -verify-machineinstrs -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.