fallback: translate: lshr i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: lshr i1 M |
| Occurrences: | 3 in 3 configs, 3 test files, 20 more counted only |
| Snippet from: | attributes.2e4108cc39.ll (mutant of attributes.ll) @addi via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zknh,+zhinx,+zvkb -O3 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i1
define i32 @addi(i32 %a) {
%B1 = lshr i1 false, false
%B = shl i32 %a, %a
store i1 %B1, ptr @G.2, align 1
ret i32 %B
}
Reproduce:
llc -mtriple=riscv64 -mattr=+zknh,+zhinx,+zvkb -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zknh,+zhinx,+zvkb -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B1 = lshr i1 false, false' (in function: addi)
warning: Instruction selection used fallback path for addi
Occurrences (3):
| Input | Function | Config |
|---|
| attributes.2e4108cc39.ll (mutant of attributes.ll) | addi | -mtriple=riscv64 -mattr=+zknh,+zhinx,+zvkb -O3 -verify-machineinstrs |
| float-round-conv-sat.66394a1932.ll (mutant of float-round-conv-sat.ll) | test_trunc_si32 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O3 |
| rv32xtheadbb.ae6a0a219c.ll (mutant of rv32xtheadbb.ll) | cttz_zero_poison_i32 | -mtriple=riscv32 -mattr=+xtheadbb,+zhinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.