fallback: translate: srem <N x i32>
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: srem <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 7 more counted only |
| Snippet from: | half-imm.00e43ffeaa.ll (mutant of half-imm.ll) @half_positive_zero via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zicsr -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <4 x i32>
; Function Attrs: nounwind
define half @half_positive_zero(ptr %pf) #0 {
%B = srem <4 x i32> zeroinitializer, zeroinitializer
store <4 x i32> %B, ptr @G.1, align 16
ret half 0.000000e+00
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zicsr -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zicsr -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %B = srem <4 x i32> zeroinitializer, zeroinitializer' (in function: half_positive_zero)
warning: Instruction selection used fallback path for half_positive_zero
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-vrol.6abad9bf.1eb2f55e4c.ll (mutant of fixed-vectors-vrol.6abad9bf.ll) | vrol_vv_v1i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zvkb,+zicond,+zfinx,+zcb -O0 |
| half-imm.00e43ffeaa.ll (mutant of half-imm.ll) | half_positive_zero | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zicsr -O0 |
| stack-slot-size.ceaafd1a40.ll (mutant of stack-slot-size.ll) | caller129 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zfinx -O0 -code-model=medium |
Generated 2026-11-29 14:49 UTC.