fallback: translate: xor i128

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: xor i128 M
Occurrences:4 in 4 configs, 4 test files, 16 more counted only
Snippet from:half-fcmp.1b226ea96b.ll (mutant of half-fcmp.ll) @fcmp_ord via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zbkb -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128

; Function Attrs: nounwind
define i32 @fcmp_ord(half %a, half %b) #0 {
  %B = xor i128 170141183460469231731687303715884105727, 18446744073709551616
  %1 = fcmp ord half %a, %b
  %2 = zext i1 %1 to i32
  store i128 %B, ptr @G, align 4
  ret i32 %2
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: xor: '  %B = xor i128 170141183460469231731687303715884105727, 18446744073709551616' (in function: fcmp_ord)
warning: Instruction selection used fallback path for fcmp_ord

Occurrences (4):

InputFunctionConfig
dwarf-eh.5b65851a3e.ll (mutant of dwarf-eh.ll)test1-mtriple=riscv64 --code-model=medium -relocation-model=pic -mattr=+zfinx,+zba -O0 -verify-machineinstrs
half-fcmp.1b226ea96b.ll (mutant of half-fcmp.ll)fcmp_ord-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin,+zbkb -O3
half-round-conv-sat.33c587a6b3.ll (mutant of half-round-conv-sat.ll)test_floor_ui64-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinxmin -O3
shifts.f4011daaf5.ll (mutant of shifts.ll)fshr128_minsize-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O2

Generated 2026-11-29 14:49 UTC.