fallback: legalize: G_SUB <N x i1>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_SUB <N x i1> M |
| Occurrences: | 3 in 3 configs, 1 test files, 5 more counted only |
| Snippet from: | fixed-vectors-vsub-vp-mask.4df496c9eb.ll (mutant of fixed-vectors-vsub-vp-mask.ll) @vsub_vv_v2i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <8 x i8>
@G.2 = external global <8 x i8>
define <2 x i1> @vsub_vv_v2i1(<2 x i1> %va, <2 x i1> %b, <2 x i1> %m, i32 zeroext %evl) {
%LGV = load <8 x i8>, ptr @G.1, align 8
%B = mul <8 x i8> splat (i8 127), %LGV
%v = sub <2 x i1> %va, %b
store <8 x i8> %B, ptr @G.2, align 8
ret <2 x i1> %v
}
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: %18:_(<2 x i1>) = G_SUB %0:_, %1:_ (in function: vsub_vv_v2i1)
warning: Instruction selection used fallback path for vsub_vv_v2i1
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vsub-vp-mask.3ffbdb69e3.ll (mutant of fixed-vectors-vsub-vp-mask.ll) | vsub_vv_v2i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zicond -O3 |
| fixed-vectors-vsub-vp-mask.4df496c9eb.ll (mutant of fixed-vectors-vsub-vp-mask.ll) | vsub_vv_v2i1 | -mtriple=riscv32 -verify-machineinstrs -O1 |
| fixed-vectors-vsub-vp-mask.b1bc710708.ll (mutant of fixed-vectors-vsub-vp-mask.ll) | vsub_vv_v2i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvkb -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.