fallback: translate: ashr i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: ashr i64 M |
| Occurrences: | 6 in 6 configs, 6 test files, 23 more counted only |
| Snippet from: | ssub_sat_plus.5f3e799188.ll (mutant of ssub_sat_plus.ll) @func64 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+m,+zbb,+zhinx,+zicsr -O2 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @func64(i64 %x, i64 %y, i64 %z) #0 {
%B = ashr i64 %x, -1
ret i64 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+m,+zbb,+zhinx,+zicsr -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+m,+zbb,+zhinx,+zicsr -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: ashr: ' %B = ashr i64 %x, -1' (in function: func64)
warning: Instruction selection used fallback path for func64
Occurrences (6):
| Input | Function | Config |
|---|
| alu64.d2190b14ef.ll (mutant of alu64.ll) | srai | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 |
| rv32xtheadbb.7ce7092918.ll (mutant of rv32xtheadbb.ll) | sext_sextinreg_sra | -mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zdinx -O3 |
| rv32zbb.0be84b62e5.ll (mutant of rv32zbb.ll) | sextb_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zfinx -O0 |
| rvp-scalar.d898539074.ll (mutant of rvp-scalar.ll) | sra_i64 | -mtriple=riscv64 -mattr=+experimental-p,+zhinx -O0 -verify-machineinstrs |
| rvp-simd-32.0db626d5.1c2adb49a8.ll (mutant of rvp-simd-32.0db626d5.ll) | test_maccsu_h11_i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+zihintpause -O0 |
| ssub_sat_plus.5f3e799188.ll (mutant of ssub_sat_plus.ll) | func64 | -mtriple=riscv64 -mattr=+m,+zbb,+zhinx,+zicsr -O2 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.