fallback: translate: lshr <N x i64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: lshr <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 5 more counted only
Snippet from:half-intrinsics.142efaa06d.ll (mutant of half-intrinsics.ll) @tanh_f16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.5 = external global <2 x i64>

; Function Attrs: nounwind
define half @tanh_f16(half %a) #0 {
  %B = lshr <2 x i64> splat (i64 9223372036854775807), splat (i64 4294967296)
  %1 = call half @llvm.tanh.f16(half %a)
  store <2 x i64> %B, ptr @G.5, align 16
  ret half %1
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.tanh.f16(half) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
float-round-conv-sat.62d0d1f51e.ll (mutant of float-round-conv-sat.ll)test_round_ui32-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx,+a -O2 -code-model=medium
half-intrinsics.142efaa06d.ll (mutant of half-intrinsics.ll)tanh_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx -O0
idiv_large.f12c8d36.f261cf11.5eb76210ca.ll (mutant of idiv_large.f12c8d36.f261cf11.ll)udiv_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3
rvp-mul-parts-acc-fold.e9500c6366.ll (mutant of rvp-mul-parts-acc-fold.ll)maccu_w00-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zfinx -O0

Generated 2026-11-29 14:49 UTC.