fallback: translate: sub <N x i64>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sub <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 17 more counted only
Snippet from:div-by-constant.2b67f151ca.ll (mutant of div-by-constant.ll) @sdiv8_constant_srai via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx,+zvkb -O1 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

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

; Function Attrs: nounwind
define i8 @sdiv8_constant_srai(i8 %a) #0 {
  %B = sub <2 x i64> zeroinitializer, splat (i64 42)
  %1 = sdiv i8 %a, 5
  store <2 x i64> %B, ptr @G.3, align 16
  ret i8 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx,+zvkb -O1 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx,+zvkb -O1 -code-model=medium -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
div-by-constant.2b67f151ca.ll (mutant of div-by-constant.ll)sdiv8_constant_srai-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zbb,+zhinx,+zvkb -O1 -code-model=medium
float-fcmp-strict.2585204989.ll (mutant of float-fcmp-strict.ll)fcmp_ueq-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zfinx -O1
zfhmin-half-intrinsics-strict.ec317e2849.ll (mutant of zfhmin-half-intrinsics-strict.ll)round_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinxmin -O3 -code-model=small

Generated 2026-11-29 14:49 UTC.