fallback: legalize: G_LOAD <N x i1>,p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_LOAD <N x i1>,p0 M |
| Occurrences: | 6 in 3 configs, 1 test files, 47 more counted only |
| Snippet from: | fixed-vectors-zext-vp-mask.dbdd8fa429.ll (mutant of fixed-vectors-zext-vp-mask.ll) @vzext_v4i64_v4i1 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+m -O2 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define <4 x i64> @vzext_v4i64_v4i1(<4 x i1> %va, <4 x i1> %m, i32 zeroext %evl) {
%A = alloca i8, align 1
store i8 poison, ptr %A, align 1
%LGV = load i8, ptr @G, align 1
%v = zext <4 x i1> %va to <4 x i64>
%B = srem i8 %LGV, 16
store i8 %B, ptr %A, align 1
ret <4 x i64> %v
}
Reproduce:
llc -mtriple=riscv32 -mattr=+m -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+m -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %0:_(<4 x i1>) = G_LOAD %4:_(p0) :: (load (<4 x i1>)) (in function: vzext_v4i64_v4i1)
warning: Instruction selection used fallback path for vzext_v4i64_v4i1
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-zext-vp-mask.1bf49a4079.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i64_v4i1_unmasked | -mtriple=riscv64 -mattr=+m,+zicond -O3 -verify-machineinstrs |
| fixed-vectors-zext-vp-mask.3d9454310a.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i16_v4i1 | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-zext-vp-mask.3d9454310a.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i16_v4i1_unmasked | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-zext-vp-mask.3d9454310a.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i32_v4i1 | -mtriple=riscv64 -O1 -verify-machineinstrs |
| fixed-vectors-zext-vp-mask.dbdd8fa429.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i64_v4i1 | -mtriple=riscv32 -mattr=+m -O2 -verify-machineinstrs |
| fixed-vectors-zext-vp-mask.dbdd8fa429.ll (mutant of fixed-vectors-zext-vp-mask.ll) | vzext_v4i64_v4i1_unmasked | -mtriple=riscv32 -mattr=+m -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.