fallback: translate: urem i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: urem i1 M |
| Occurrences: | 3 in 3 configs, 3 test files, 13 more counted only |
| Snippet from: | stack-reorder.7dbed29b56.ll (mutant of stack-reorder.ll) @test_stack_sort via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+prefer-ascending-load-store,+zdinx,+zicond -O2 -code-model=medium |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare void @callee(ptr)
define void @test_stack_sort() {
%B = urem i1 true, true
%1 = alloca i8, align 32
store i1 %B, ptr %1, align 1
%B1 = and i64 -1, 0
call void @callee(ptr %1)
store i64 %B1, ptr %1, align 4
ret void
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+prefer-ascending-load-store,+zdinx,+zicond -O2 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+prefer-ascending-load-store,+zdinx,+zicond -O2 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem i1 true, true' (in function: test_stack_sort)
warning: Instruction selection used fallback path for test_stack_sort
Occurrences (3):
| Input | Function | Config |
|---|
| float-convert-strict.9a5cb324f0.ll (mutant of float-convert-strict.ll) | fcvt_s_wu | -mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zfinx -O2 |
| half-convert-strict.331298cbef.ll (mutant of half-convert-strict.ll) | fcvt_h_ui | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zdinx,+zhinx -O1 |
| stack-reorder.7dbed29b56.ll (mutant of stack-reorder.ll) | test_stack_sort | -mtriple=riscv64 -verify-machineinstrs -mattr=+prefer-ascending-load-store,+zdinx,+zicond -O2 -code-model=medium |
Generated 2026-11-29 14:49 UTC.