fallback: translate: urem i1
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: urem i1 M |
| Occurrences: | 4 in 4 configs, 4 test files, 21 more counted only |
| Snippet from: | imm.b4367c4b71.ll (mutant of imm.ll) @imm64_0x1FFFFFF08 via llvm-extract |
| Config: | -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zba,+zdinx,+zcb -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i1
define i64 @imm64_0x1FFFFFF08() {
%B = urem i1 true, false
store i1 %B, ptr @G.3, align 1
ret i64 8589934344
}
Reproduce:
llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zba,+zdinx,+zcb -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zba,+zdinx,+zcb -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: urem: ' %B = urem i1 true, false' (in function: imm64_0x1FFFFFF08)
warning: Instruction selection used fallback path for imm64_0x1FFFFFF08
Occurrences (4):
| Input | Function | Config |
|---|
| ctlz-cttz-ctpop.ebcfa44a43.ll (mutant of ctlz-cttz-ctpop.ll) | test_ctlz_i64_zero_poison | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zdinx -O2 |
| idiv_large.f00797e3b3.ll (mutant of idiv_large.ll) | udiv_i128 | -mtriple=riscv32 -mattr=+zfinx,+xtheadba -O1 -verify-machineinstrs |
| imm.b4367c4b71.ll (mutant of imm.ll) | imm64_0x1FFFFFF08 | -mtriple=riscv64 -riscv-constant-pool-for-large-ints=0 -verify-machineinstrs -mattr=+zba,+zdinx,+zcb -O0 |
| zicond-fp-select-zfinx.13359d9af4.ll (mutant of zicond-fp-select-zfinx.ll) | select_f32_i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2 |
Generated 2026-11-29 14:49 UTC.