fallback: translate: sub i32

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: sub i32 M
Occurrences:1 in 1 configs, 1 test files
Snippet from:double-calling-conv.0e7111ea4d.ll (mutant of double-calling-conv.ll) @callee_double_split_reg_stack via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx -target-abi=ilp32 -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i32

; Function Attrs: nounwind
define double @callee_double_split_reg_stack(i32 %a, i64 %b, i64 %c, double %d, double %e) #0 {
  %B = sub i32 %a, 2147483647
  %1 = fadd double %d, %e
  store i32 %B, ptr @G.2, align 4
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sub: '  %B = sub i32 %a, 2147483647' (in function: callee_double_split_reg_stack)
warning: Instruction selection used fallback path for callee_double_split_reg_stack

Occurrences (1):

InputFunctionConfig
double-calling-conv.0e7111ea4d.ll (mutant of double-calling-conv.ll)callee_double_split_reg_stack-mtriple=riscv32 -mattr=+zdinx -target-abi=ilp32 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.