fallback: translate: urem <N x i32>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: urem <N x i32> M |
| Occurrences: | 3 in 3 configs, 3 test files, 14 more counted only |
| Snippet from: | atomic-signext.440c14eaaf.ll (mutant of atomic-signext.ll) @atomicrmw_sub_i16_monotonic via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zfinx -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define signext i16 @atomicrmw_sub_i16_monotonic(ptr %a, i16 %b) #0 {
%B = urem <4 x i32> splat (i32 1), zeroinitializer
%1 = atomicrmw sub ptr %a, i16 %b monotonic, align 2
store <4 x i32> %B, ptr poison, align 16
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zfinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zfinx -O3 -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), zeroinitializer' (in function: atomicrmw_sub_i16_monotonic)
warning: Instruction selection used fallback path for atomicrmw_sub_i16_monotonic
Occurrences (3):
| Input | Function | Config |
|---|
| atomic-signext.440c14eaaf.ll (mutant of atomic-signext.ll) | atomicrmw_sub_i16_monotonic | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zfinx -O3 |
| memmove.1799a15118.ll (mutant of memmove.ll) | aligned_memmove2 | -mtriple=riscv64 -mattr=+unaligned-scalar-mem,+zicond,+zfinx -O3 -verify-machineinstrs |
| urem-lkk.63d44c5104.ll (mutant of urem-lkk.ll) | dont_fold_urem_i32_umax | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zdinx,+c -O1 |
Generated 2026-11-29 14:49 UTC.