fallback: legalize: G_UREM <N x i8~>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_UREM <N x i8~> NEW M |
| Occurrences: | 3 in 3 configs, 1 test files, 8 more counted only |
| Snippet from: | fixed-vectors-trunc-vp.2648283a.1c118e2e5d.ll (mutant of fixed-vectors-trunc-vp.2648283a.ll) @vtrunc_v2i7_v2i16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfhmin -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i7> @vtrunc_v2i7_v2i16(<2 x i16> %a, <2 x i1> %m, i32 zeroext %vl) {
%v = trunc <2 x i16> %a to <2 x i7>
%B = urem <2 x i7> %v, %v
ret <2 x i7> %B
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfhmin -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfhmin -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %10:_(<2 x i7>) = G_UREM %9:_, %9:_ (in function: vtrunc_v2i7_v2i16)
warning: Instruction selection used fallback path for vtrunc_v2i7_v2i16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-trunc-vp.2648283a.1c118e2e5d.ll (mutant of fixed-vectors-trunc-vp.2648283a.ll) | vtrunc_v2i7_v2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfhmin -O2 |
| fixed-vectors-trunc-vp.2648283a.3a51996562.ll (mutant of fixed-vectors-trunc-vp.2648283a.ll) | vtrunc_v2i7_v2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zihintpause,+zve32x -O0 |
| fixed-vectors-trunc-vp.2648283a.cc9c33ab3b.ll (mutant of fixed-vectors-trunc-vp.2648283a.ll) | vtrunc_v2i7_v2i16 | -mtriple=riscv32 -verify-machineinstrs -O0 |
Generated 2026-11-29 14:49 UTC.