fallback: translate: urem <N x i16>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: urem <N x i16> M |
| Occurrences: | 5 in 5 configs, 1 test files, 9 more counted only |
| Snippet from: | urem-vector-lkk.5fb768e404.ll (mutant of urem-vector-lkk.ll) @fold_urem_vec_2 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <4 x i16> @fold_urem_vec_2(<4 x i16> %x) #0 {
%1 = urem <4 x i16> %x, splat (i16 95)
%B = xor <4 x i16> %1, %1
ret <4 x i16> %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %1 = urem <4 x i16> %x, splat (i16 95)' (in function: fold_urem_vec_2)
warning: Instruction selection used fallback path for fold_urem_vec_2
Occurrences (5):
| Input | Function | Config |
|---|
| urem-vector-lkk.0eb642cf32.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvbb,+zhinx -O3 |
| urem-vector-lkk.28c2300db9.ll (mutant of urem-vector-lkk.ll) | dont_fold_urem_one | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx,+zicond -O2 |
| urem-vector-lkk.5fb768e404.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O0 |
| urem-vector-lkk.926aac7a78.ll (mutant of urem-vector-lkk.ll) | dont_fold_urem_power_of_two | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvkb,+zfinx -O2 |
| urem-vector-lkk.b30efcb7a6.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O0 -code-model=small |
Generated 2026-11-29 14:49 UTC.