fallback: translate: urem i128
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: urem i128 M |
| Occurrences: | 6 in 4 configs, 3 test files, 10 more counted only |
| Snippet from: | split-urem-by-constant.f51b798857.ll (mutant of split-urem-by-constant.ll) @test_urem_255 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zbb,+zdinx -O3 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i128 @test_urem_255(i128 %x) #0 {
%a = urem i128 %x, 255
%B = urem i128 %a, -1
store i128 %B, ptr poison, align 4
ret i128 %a
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zbb,+zdinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zbb,+zdinx -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %a = urem i128 %x, 255' (in function: test_urem_255)
warning: Instruction selection used fallback path for test_urem_255
Occurrences (6):
| Input | Function | Config |
|---|
| atomic-fence.107f4b2cdd.ll (mutant of atomic-fence.ll) | fence_singlethread_release | -mtriple=riscv64 -verify-machineinstrs -mattr=+a,+zhinx -O1 |
| memcpy.ca0882d8b1.ll (mutant of memcpy.ll) | aligned_memcpy4 | -mtriple=riscv64 -mattr=+zhinx,+zcb -O1 -verify-machineinstrs |
| split-urem-by-constant.b87910afd7.ll (mutant of split-urem-by-constant.ll) | test_urem_257 | -mtriple=riscv64 -mattr=+m,+zhinx -O0 -verify-machineinstrs |
| split-urem-by-constant.b87910afd7.ll (mutant of split-urem-by-constant.ll) | test_urem_7_shl_30 | -mtriple=riscv64 -mattr=+m,+zhinx -O0 -verify-machineinstrs |
| split-urem-by-constant.b87910afd7.ll (mutant of split-urem-by-constant.ll) | test_urem_3_shl_32 | -mtriple=riscv64 -mattr=+m,+zhinx -O0 -verify-machineinstrs |
| split-urem-by-constant.f51b798857.ll (mutant of split-urem-by-constant.ll) | test_urem_255 | -mtriple=riscv64 -mattr=+m,+zbb,+zdinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.