fallback: translate: lshr i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: lshr i64 M |
| Occurrences: | 7 in 7 configs, 7 test files, 37 more counted only |
| Snippet from: | alu64.5924335a24.ll (mutant of alu64.ll) @srl via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1 -code-model=medium |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.4 = external global i64
; Function Attrs: nounwind
define i64 @srl(i64 %a, i64 %b) #0 {
%1 = lshr i64 %a, %b
%B = sub i64 %1, %1
store i64 %B, ptr @G.4, align 4
ret i64 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %1 = lshr i64 %a, %b' (in function: srl)
warning: Instruction selection used fallback path for srl
Occurrences (7):
| Input | Function | Config |
|---|
| alu64.5924335a24.ll (mutant of alu64.ll) | srl | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1 -code-model=medium |
| bittest.407d4ed44b.ll (mutant of bittest.ll) | bittest_10_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 |
| double-maximum-minimum.680e64533a.ll (mutant of double-maximum-minimum.ll) | fmaximum_f64 | -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O0 |
| fold-addi-loadstore.fa20e4946f.ll (mutant of fold-addi-loadstore.ll) | store_g_4 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+c -O0 |
| rv32xtheadbs.b6ed2f032e.ll (mutant of rv32xtheadbs.ll) | th_tst_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbs,+zdinx,+c -O1 |
| rv64xtheadbb.216a091842.ll (mutant of rv64xtheadbb.ll) | zext_i64_srliw | -mtriple=riscv64 -verify-machineinstrs -mattr=+xtheadbb,+zfinx -O0 -code-model=small |
| rv64zba.785221658d.ll (mutant of rv64zba.ll) | srli_2_sh1add | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zdinx -O1 |
Generated 2026-11-29 14:49 UTC.