fallback: translate: lshr <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: lshr <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 3 more counted only
Snippet from:fold-addi-loadstore-zilsd.103282dfcc.ll (mutant of fold-addi-loadstore-zilsd.ll) @load_g_0 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zilsd,+zicsr -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@g_0 = external global double
@G.1 = external global <2 x i64>

; Function Attrs: nounwind
define double @load_g_0() #0 {
entry:
  %B = lshr <2 x i64> splat (i64 -1), splat (i64 9223372036854775807)
  %0 = load double, ptr @g_0, align 8
  store <2 x i64> %B, ptr @G.1, align 16
  ret double %0
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zilsd,+zicsr -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zilsd,+zicsr -O2 -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 -1), splat (i64 9223372036854775807)' (in function: load_g_0)
warning: Instruction selection used fallback path for load_g_0

Occurrences (4):

InputFunctionConfig
fixed-vectors-vshl-vp.1056e605f7.ll (mutant of fixed-vectors-vshl-vp.ll)vsll_vx_v16i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
fold-addi-loadstore-zilsd.103282dfcc.ll (mutant of fold-addi-loadstore-zilsd.ll)load_g_0-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zilsd,+zicsr -O2
half-arith-strict.1c050f43ce.ll (mutant of half-arith-strict.ll)fmul_h-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 -mattr=+zhinxmin -O3 -code-model=medium
rv64zfhmin-half-convert-strict.b6cb5d22c9.ll (mutant of rv64zfhmin-half-convert-strict.ll)uitofp_sext_i32_to_f16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zhinxmin -O2

Generated 2026-11-29 14:49 UTC.