fallback: translate: call llvm.uadd.with.overflow.i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.uadd.with.overflow.i64 M
Occurrences:3 in 3 configs, 1 test files, 4 more counted only
Snippet from:xaluo.233df3708d.ll (mutant of xaluo.ll) @uaddo.select.i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @uaddo.select.i64(i64 %v1, i64 %v2) {
entry:
  %t = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %v1, i64 %v2)
  %obit = extractvalue { i64, i1 } %t, 1
  %E = extractvalue { i64, i1 } %t, 0
  %ret = select i1 %obit, i64 %v1, i64 %v2
  store i64 %E, ptr poison, align 4
  ret i64 %ret
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.uadd.with.overflow.i64: '  %t = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %v1, i64 %v2)' (in function: uaddo.select.i64)
warning: Instruction selection used fallback path for uaddo.select.i64

Occurrences (3):

InputFunctionConfig
xaluo.233df3708d.ll (mutant of xaluo.ll)uaddo.select.i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O0
xaluo.6172fe61a2.ll (mutant of xaluo.ll)uaddo.i64-mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O1
xaluo.8d62925cc2.ll (mutant of xaluo.ll)uaddo.select.i64-mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zicond,+zbkb,+zfinx -O0

Generated 2026-11-29 14:49 UTC.