fallback: translate: urem <N x i16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: urem <N x i16> M |
| Occurrences: | 6 in 3 configs, 2 test files, 12 more counted only |
| Snippet from: | smulh.0b74ce940d.ll (mutant of smulh.ll) @smulh_v8i16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <8 x i16> @smulh_v8i16(<8 x i16> %x, <8 x i16> %y) #0 {
%B = urem <8 x i16> %x, zeroinitializer
ret <8 x i16> %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem <8 x i16> %x, zeroinitializer' (in function: smulh_v8i16)
warning: Instruction selection used fallback path for smulh_v8i16
Occurrences (6):
| Input | Function | Config |
|---|
| smulh.0b74ce940d.ll (mutant of smulh.ll) | smulh_v8i16 | -mtriple=riscv64 -mattr=+zhinx -O0 -verify-machineinstrs |
| urem-vector-lkk.28d127c6d2.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 |
| urem-vector-lkk.28d127c6d2.ll (mutant of urem-vector-lkk.ll) | dont_fold_urem_one | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 |
| urem-vector-lkk.da52e4c90d.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 |
| urem-vector-lkk.da52e4c90d.ll (mutant of urem-vector-lkk.ll) | fold_urem_vec_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 |
| urem-vector-lkk.da52e4c90d.ll (mutant of urem-vector-lkk.ll) | dont_fold_urem_i16_smax | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zhinx -O1 |
Generated 2026-11-29 14:49 UTC.