fallback: translate: ashr <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: ashr <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 10 more counted only
Snippet from:inline-asm-zhinx-constraint-r.291029e98d.ll (mutant of inline-asm-zhinx-constraint-r.ll) @constraint_half_abi_name via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx -O0
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@gh = external global half
@G = external global <2 x i64>

; Function Attrs: nounwind
define half @constraint_half_abi_name(half %a) #0 {
  %B = ashr <2 x i64> splat (i64 42), splat (i64 42)
  %1 = load half, ptr @gh, align 2
  %2 = tail call half asm "fadd.s $0, $1, $2", "={t0},{a0},{s0}"(half %a, half %1)
  store <2 x i64> %B, ptr @G, align 16
  ret half %2
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: ashr: '  %B = ashr <2 x i64> splat (i64 42), splat (i64 42)' (in function: constraint_half_abi_name)
warning: Instruction selection used fallback path for constraint_half_abi_name

Occurrences (4):

InputFunctionConfig
combine-reduce-add-to-vcpop.0536698f4d.ll (mutant of combine-reduce-add-to-vcpop.ll)test_nxv128i1-mtriple=riscv64 -mattr=+zve32x,+zvl128b,+zbb,+zdinx -O3 -verify-machineinstrs
double-intrinsics.bf13eb24fb.ll (mutant of double-intrinsics.ll)pow_f64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O0
fixed-vectors-ctpop-vp.d44684bd9a.ll (mutant of fixed-vectors-ctpop-vp.ll)vp_ctpop_v2i64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+m,+zhinx -O3
inline-asm-zhinx-constraint-r.291029e98d.ll (mutant of inline-asm-zhinx-constraint-r.ll)constraint_half_abi_name-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx -O0

Generated 2026-11-29 14:49 UTC.