fallback: translate: srem <N x i16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: srem <N x i16> M |
| Occurrences: | 4 in 3 configs, 2 test files, 6 more counted only |
| Snippet from: | srem-vector-lkk.dce649528d.ll (mutant of srem-vector-lkk.ll) @fold_srem_vec_2 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <4 x i16> @fold_srem_vec_2(<4 x i16> %x) #0 {
%1 = srem <4 x i16> %x, splat (i16 95)
store <4 x i16> %1, ptr poison, align 8
ret <4 x i16> %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %1 = srem <4 x i16> %x, splat (i16 95)' (in function: fold_srem_vec_2)
warning: Instruction selection used fallback path for fold_srem_vec_2
Occurrences (4):
| Input | Function | Config |
|---|
| rvp-narrowing-clip.8a716dc1c9.ll (mutant of rvp-narrowing-clip.ll) | pnclipu_v4i8_0 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx,+zbkb -O2 |
| srem-vector-lkk.95cdffc7b3.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2 -code-model=small |
| srem-vector-lkk.dce649528d.ll (mutant of srem-vector-lkk.ll) | fold_srem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small |
| srem-vector-lkk.dce649528d.ll (mutant of srem-vector-lkk.ll) | dont_fold_srem_power_of_two | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2 -code-model=small |
Generated 2026-11-29 14:49 UTC.