fallback: legalize: G_LOAD <N x i8~>,p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_LOAD <N x i8~>,p0 M |
| Occurrences: | 3 in 3 configs, 2 test files, 3 more counted only |
| Snippet from: | fixed-vectors-sext-vp.3c62c41a01.ll (mutant of fixed-vectors-sext-vp.ll) @vsext_v4i8_v4i7 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i64
define <4 x i8> @vsext_v4i8_v4i7(<4 x i7> %va, <4 x i1> %m, i32 zeroext %evl) {
%v = sext <4 x i7> %va to <4 x i8>
%B = urem i64 4294967296, 9223372036854775807
store i64 %B, ptr @G.2, align 4
ret <4 x i8> %v
}
Reproduce:
llc -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %0:_(<4 x i7>) = G_LOAD %4:_(p0) :: (load (<4 x i7>)) (in function: vsext_v4i8_v4i7)
warning: Instruction selection used fallback path for vsext_v4i8_v4i7
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-sext-vp.3c62c41a01.ll (mutant of fixed-vectors-sext-vp.ll) | vsext_v4i8_v4i7 | -mtriple=riscv64 -mattr=+m -O1 -verify-machineinstrs |
| fixed-vectors-zext-vp.c10b55dfd1.ll (mutant of fixed-vectors-zext-vp.ll) | vzext_v4i16_v4i7 | -mtriple=riscv32 -mattr=+m,+zbs -O1 -verify-machineinstrs |
| fixed-vectors-zext-vp.d9faa56e9d.ll (mutant of fixed-vectors-zext-vp.ll) | vzext_v4i8_v4i7 | -mtriple=riscv64 -mattr=+m,+zicsr -O3 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.