fallback: translate: fadd fp128

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:translate: fadd fp128 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:llvm.frexp.61c26bc814.ll (mutant of llvm.frexp.ll) @test_frexp_f128_i32_only_use_exp via llvm-extract
Config:-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global fp128

; Function Attrs: nounwind
define i32 @test_frexp_f128_i32_only_use_exp(fp128 %a) #0 {
  %B = fadd fp128 %a, %a
  %result = call { fp128, i32 } @llvm.frexp.f128.i32(fp128 %a)
  %result.0 = extractvalue { fp128, i32 } %result, 1
  store fp128 %B, ptr @G, align 16
  ret i32 %result.0
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { fp128, i32 } @llvm.frexp.f128.i32(fp128) #1

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fadd: '  %B = fadd fp128 %a, %a' (in function: test_frexp_f128_i32_only_use_exp)
warning: Instruction selection used fallback path for test_frexp_f128_i32_only_use_exp

Occurrences (2):

InputFunctionConfig
llvm.frexp.61c26bc814.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.b56ee0fd0e.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32

Generated 2026-11-29 14:49 UTC.