fallback: translate: ashr i128

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: ashr i128 M
Occurrences:4 in 4 configs, 4 test files, 17 more counted only
Snippet from:dso_local_equivalent.9b38082439.ll (mutant of dso_local_equivalent.ll) @f2 via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i128

define dso_local void @f2() {
  %B = ashr i128 18446744073709551616, 1
  store i128 %B, ptr @G.2, align 4
  ret void
}

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ashr: '  %B = ashr i128 18446744073709551616, 1' (in function: f2)
warning: Instruction selection used fallback path for f2

Occurrences (4):

InputFunctionConfig
ctz_zero_return_test.5149c0af8f.ll (mutant of ctz_zero_return_test.ll)ctz3-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0
dso_local_equivalent.9b38082439.ll (mutant of dso_local_equivalent.ll)f2-mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs
half-imm.132d15874c.ll (mutant of half-imm.ll)half_imm-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O3
split-urem-by-constant.f3fea4094e.ll (mutant of split-urem-by-constant.ll)test_urem_7-mtriple=riscv64 -mattr=+zdinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.