fallback: translate: srem <N x i64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: srem <N x i64> M |
| Occurrences: | 3 in 3 configs, 3 test files, 12 more counted only |
| Snippet from: | srem-vector-lkk.fffafde243.ll (mutant of srem-vector-lkk.ll) @dont_fold_srem_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zicond,+zfinx -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <4 x i64> @dont_fold_srem_i64(<4 x i64> %x) #0 {
%1 = srem <4 x i64> %x, <i64 1, i64 654, i64 23, i64 5423>
%C = icmp sgt <4 x i64> %x, splat (i64 1)
store <4 x i1> %C, ptr poison, align 1
ret <4 x i64> %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zicond,+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zicond,+zfinx -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %1 = srem <4 x i64> %x, <i64 1, i64 654, i64 23, i64 5423>' (in function: dont_fold_srem_i64)
warning: Instruction selection used fallback path for dont_fold_srem_i64
Occurrences (3):
| Input | Function | Config |
|---|
| double-stack-spill-restore.d45f2ac25c.ll (mutant of double-stack-spill-restore.ll) | func | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zdinx,+zihintpause -O3 |
| half-maximum-minimum.ca20fa48f1.ll (mutant of half-maximum-minimum.ll) | fmaximum_nnan_op_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zihintpause -O3 |
| srem-vector-lkk.fffafde243.ll (mutant of srem-vector-lkk.ll) | dont_fold_srem_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zicond,+zfinx -O3 |
Generated 2026-11-29 14:49 UTC.