fallback: translate: freeze i128

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: freeze i128 M
Occurrences:3 in 3 configs, 3 test files, 14 more counted only
Snippet from:half-convert.cfeed52622.ll (mutant of half-convert.ll) @fcvt_h_ui via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinxmin -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

; Function Attrs: nounwind
define half @fcvt_h_ui(i16 %a) #0 {
  %B = urem i128 18446744073709551616, 42
  %1 = uitofp i16 %a to half
  store i128 %B, ptr @G, align 4
  ret half %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: freeze: '  %0 = freeze i128 18446744073709551616' (in function: fcvt_h_ui)
warning: Instruction selection used fallback path for fcvt_h_ui

Occurrences (3):

InputFunctionConfig
fp-fcanonicalize.4a8df3a802.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f16-mtriple=riscv32 -target-abi=ilp32 -verify-machineinstrs -mattr=+zhinx -O0
half-convert.cfeed52622.ll (mutant of half-convert.ll)fcvt_h_ui-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinxmin -O3
hoist-global-addr-base.c4a8fae9a6.ll (mutant of hoist-global-addr-base.ll)big_offset_one_use-mtriple=riscv32 -mattr=+xqcili,+xqcilia,+zfinx -O2 -code-model=medium -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.