fallback: translate: srem <N x i8>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: srem <N x i8> M |
| Occurrences: | 5 in 5 configs, 5 test files, 17 more counted only |
| Snippet from: | zicond-fp-select-zfinx.ce333e534d.ll (mutant of zicond-fp-select-zfinx.ll) @select_half_i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+xtheadba,+zba -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define dso_local noundef half @select_half_i1(i1 %cond, half %a, half %b) #0 {
entry:
%B = srem <8 x i8> splat (i8 16), splat (i8 16)
%sel = select i1 %cond, half %a, half %b
store <8 x i8> %B, ptr poison, align 8
ret half %sel
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+xtheadba,+zba -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+xtheadba,+zba -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %B = srem <8 x i8> splat (i8 16), splat (i8 16)' (in function: select_half_i1)
warning: Instruction selection used fallback path for select_half_i1
Occurrences (5):
| Input | Function | Config |
|---|
| atomic-cmpxchg.0e15b8a270.ll (mutant of atomic-cmpxchg.ll) | cmpxchg_i32_acquire_acquire | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+zdinx -O2 |
| fixed-vectors-bswap-vp.ccec03aa96.ll (mutant of fixed-vectors-bswap-vp.ll) | vp_bswap_v16i16 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3 |
| fixed-vectors-vxor-vp.35f232771a.ll (mutant of fixed-vectors-vxor-vp.ll) | vxor_vx_v2i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O3 |
| rvp-simd-64.540e1e4928.ll (mutant of rvp-simd-64.ll) | test_undef_v8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zbb,+zfinx -O3 |
| zicond-fp-select-zfinx.ce333e534d.ll (mutant of zicond-fp-select-zfinx.ll) | select_half_i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+xtheadba,+zba -O0 |
Generated 2026-11-29 14:49 UTC.