fallback: translate: sub <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: sub <N x i64> M
Occurrences:4 in 4 configs, 4 test files, 13 more counted only
Snippet from:shadowcallstack.4972724845.ll (mutant of shadowcallstack.ll) @f2_hw via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x,+zfinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <2 x i64>

declare void @foo()

define void @f2_hw() #0 {
  %B = sub <2 x i64> splat (i64 4294967296), splat (i64 4294967296)
  tail call void @foo()
  store <2 x i64> %B, ptr @G, align 16
  ret void
}

attributes #0 = { "hw-shadow-stack" }

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
double-arith.a2b63651d3.ll (mutant of double-arith.ll)fnmadd_d_2-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O0
half-convert.3db26493e9.ll (mutant of half-convert.ll)fcvt_w_s_sat_i16-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+zvbb -O2
shadowcallstack.4972724845.ll (mutant of shadowcallstack.ll)f2_hw-mtriple=riscv64 -verify-machineinstrs -mattr=+zve32x,+zfinx -O1
zfh-half-intrinsics.f6aeda2db5.ll (mutant of zfh-half-intrinsics.ll)lround_i32_f16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx,+zfinx -O1

Generated 2026-11-29 14:49 UTC.