fallback: translate: lshr i128
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: lshr i128 M |
| Occurrences: | 4 in 4 configs, 4 test files, 12 more counted only |
| Snippet from: | idiv_large.bd8a2eb7e6.ll (mutant of idiv_large.ll) @udiv_i128 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zdinx,+m -O3 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i128 @udiv_i128(i128 %x, i128 %y) #0 {
%B = lshr i128 %x, %y
%res = udiv i128 %x, %B
ret i128 %res
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zdinx,+m -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zdinx,+m -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: lshr: ' %B = lshr i128 %x, %y' (in function: udiv_i128)
warning: Instruction selection used fallback path for udiv_i128
Occurrences (4):
| Input | Function | Config |
|---|
| float-imm.c3759bd43a.ll (mutant of float-imm.ll) | float_imm | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O1 |
| idiv_large.bd8a2eb7e6.ll (mutant of idiv_large.ll) | udiv_i128 | -mtriple=riscv64 -mattr=+zdinx,+m -O3 -verify-machineinstrs |
| shadowcallstack.150843d1cd.ll (mutant of shadowcallstack.ll) | f2 | -mtriple=riscv32 -M no-aliases -verify-machineinstrs -mattr=+zimop,+zcmop,+zdinx,+zbkb -O3 |
| xqcia.e6bed6a7db.ll (mutant of xqcia.ll) | subsat | -mtriple=riscv32 -verify-machineinstrs -mattr=+xqcia,+zfinx -O0 |
Generated 2026-11-29 14:49 UTC.