fallback: translate: xor <N x i64>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: xor <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 9 more counted only
Snippet from:half-fcmp.0cbabc47a6.ll (mutant of half-fcmp.ll) @fcmp_one via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <2 x i64>

; Function Attrs: nounwind
define i32 @fcmp_one(half %a, half %b) #0 {
  %B = xor <2 x i64> splat (i64 42), splat (i64 42)
  %1 = fcmp one half %a, %b
  %2 = zext i1 %1 to i32
  store <2 x i64> %B, ptr @G.1, align 16
  ret i32 %2
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: xor: '  %B = xor <2 x i64> splat (i64 42), splat (i64 42)' (in function: fcmp_one)
warning: Instruction selection used fallback path for fcmp_one

Occurrences (3):

InputFunctionConfig
atomic-cmpxchg.452f735835.ll (mutant of atomic-cmpxchg.ll)cmpxchg_i64_seq_cst_seq_cst-mtriple=riscv64 -mattr=+a,+zacas,+zhinx -O0 -verify-machineinstrs
double-fcmp-strict.121dbe844b.ll (mutant of double-fcmp-strict.ll)fcmps_ole-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zdinx -O3
half-fcmp.0cbabc47a6.ll (mutant of half-fcmp.ll)fcmp_one-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O1

Generated 2026-11-29 14:49 UTC.