fallback: translate: urem <N x i32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: urem <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 11 more counted only |
| Snippet from: | rv32zba.f9d45a5f9d.ll (mutant of rv32zba.ll) @sh1add via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define signext i16 @sh1add(i64 %0, ptr %1) {
%B = urem <4 x i32> splat (i32 -1), splat (i32 2147483647)
%3 = getelementptr inbounds i16, ptr %1, i64 %0
%4 = load i16, ptr %3, align 2
store <4 x i32> %B, ptr %3, align 16
ret i16 %4
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem <4 x i32> splat (i32 -1), splat (i32 2147483647)' (in function: sh1add)
warning: Instruction selection used fallback path for sh1add
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-load-store.0657c513ed.ll (mutant of atomic-load-store.ll) | atomic_store_i16_monotonic | -mtriple=riscv32 -verify-machineinstrs -mattr=+a,+no-trailing-seq-cst-fence,+zhinx -O1 -code-model=medium |
| fastcc-without-f-reg.b4b0eccbd7.ll (mutant of fastcc-without-f-reg.ll) | h | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 |
| rv32zba.f9d45a5f9d.ll (mutant of rv32zba.ll) | sh1add | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx -O1 |
Generated 2026-11-29 14:49 UTC.