fallback: translate: and i128

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: and i128 M
Occurrences:5 in 5 configs, 5 test files, 7 more counted only
Snippet from:rv64-double-convert.7de2afcffc.ll (mutant of rv64-double-convert.ll) @sitofp_i128_to_f64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define double @sitofp_i128_to_f64(i128 %a) #0 {
  %B = and i128 %a, %a
  %1 = sitofp i128 %a to double
  store i128 %B, ptr poison, align 4
  ret double %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
half-arith-strict.faf007664a.ll (mutant of half-arith-strict.ll)fsub_h-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi lp64 -mattr=+zhinxmin,+zvkb -O3
half-convert.9dc48e20c1.ll (mutant of half-convert.ll)fcvt_h_l-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinx -O3
rv64-double-convert.7de2afcffc.ll (mutant of rv64-double-convert.ll)sitofp_i128_to_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zdinx -O2
scmp.43ec5590d0.ll (mutant of scmp.ll)scmp.8.128-mtriple=riscv32 -mattr=+zvkb,+zhinx -O0 -verify-machineinstrs
smulh.da283249ad.ll (mutant of smulh.ll)smulh_i128-mtriple=riscv64 -mattr=+zhinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.