fallback: translate: lshr i128
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: lshr i128 M |
| Occurrences: | 3 in 3 configs, 3 test files, 10 more counted only |
| Snippet from: | div-pow2.e7049dac54.ll (mutant of div-pow2.ll) @sdiv32_pow2_2 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i32 @sdiv32_pow2_2(i32 %a) {
entry:
%B = lshr i128 0, -1
%div = sdiv i32 %a, 2
store i128 %B, ptr poison, align 4
ret i32 %div
}
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B = lshr i128 0, -1' (in function: sdiv32_pow2_2)
warning: Instruction selection used fallback path for sdiv32_pow2_2
Occurrences (3):
| Input | Function | Config |
|---|
| codemodel-lowering.60f4cd0d6d.ll (mutant of codemodel-lowering.ll) | lower_blockaddress | -mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zfinx,+zhinx -O2 |
| div-pow2.e7049dac54.ll (mutant of div-pow2.ll) | sdiv32_pow2_2 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zba,+zhinx -O0 |
| select-cc.77f9e6778d.ll (mutant of select-cc.ll) | select_sge_int16min | -mtriple=riscv32 -verify-machineinstrs -mattr=+xqcicm,+xqcics,+xqcicli,+zca,+short-forward-branch-ialu,+conditional-cmv-fusion,+zfinx,+zbs -O3 |
Generated 2026-11-29 14:49 UTC.