fallback: translate: sub i128

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: sub i128 M
Occurrences:3 in 3 configs, 3 test files, 19 more counted only
Snippet from:fastcc-without-f-reg.c3c09bc0fe.ll (mutant of fastcc-without-f-reg.ll) @f via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i128

; Function Attrs: nounwind
define hidden fastcc float @f(float %x) #0 {
entry:
  %B = sub i128 170141183460469231731687303715884105727, 42
  store i128 %B, ptr @G.3, align 4
  ret float %x
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sub: '  %B = sub i128 170141183460469231731687303715884105727, 42' (in function: f)
warning: Instruction selection used fallback path for f

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.c3c09bc0fe.ll (mutant of fastcc-without-f-reg.ll)f-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
half-convert-strict.1b41d56335.ll (mutant of half-convert-strict.ll)fcvt_s_h-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -disable-strictnode-mutation -mattr=+zdinx,+zhinxmin -O3
rv64-float-convert-strict.9dc3dbaf6b.ll (mutant of rv64-float-convert-strict.ll)sitofp_i128_to_f32-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx -O1

Generated 2026-11-29 14:49 UTC.