fallback: translate: srem <N x i8>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: srem <N x i8> M |
| Occurrences: | 3 in 3 configs, 3 test files, 8 more counted only |
| Snippet from: | imm.87ca1fca47.ll (mutant of imm.ll) @imm_left_shifted_lui_1 via llvm-extract |
| Config: | -mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zhinx,+zcb -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @imm_left_shifted_lui_1() #0 {
%B = srem <8 x i8> splat (i8 -1), splat (i8 1)
store <8 x i8> %B, ptr poison, align 8
ret i64 2147491840
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zhinx,+zcb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zhinx,+zcb -O3 -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 -1), splat (i8 1)' (in function: imm_left_shifted_lui_1)
warning: Instruction selection used fallback path for imm_left_shifted_lui_1
Occurrences (3):
| Input | Function | Config |
|---|
| half-convert-strict.e5f9875056.ll (mutant of half-convert-strict.ll) | fcvt_si_h | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinx,+zihintpause -O1 |
| imm.87ca1fca47.ll (mutant of imm.ll) | imm_left_shifted_lui_1 | -mtriple=riscv32 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zhinx,+zcb -O3 |
| prolog-epilogue.532b81c061.ll (mutant of prolog-epilogue.ll) | frame_4kb_offset_128 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zvkb -O2 |
Generated 2026-11-29 14:49 UTC.