fallback: translate: xor <N x i32>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: xor <N x i32> M
Occurrences:3 in 3 configs, 2 test files, 13 more counted only
Snippet from:half-convert.3d8f715975.ll (mutant of half-convert.ll) @fcvt_wu_h via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i32 @fcvt_wu_h(half %a) #0 {
  %B = xor <4 x i32> splat (i32 -2147483648), zeroinitializer
  %1 = fptoui half %a to i32
  store <4 x i32> %B, ptr poison, align 16
  ret i32 %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: xor: '  %B = xor <4 x i32> splat (i32 -2147483648), zeroinitializer' (in function: fcvt_wu_h)
warning: Instruction selection used fallback path for fcvt_wu_h

Occurrences (3):

InputFunctionConfig
half-convert.3d8f715975.ll (mutant of half-convert.ll)fcvt_wu_h-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx -O2
half-convert.db851f70c4.ll (mutant of half-convert.ll)fcvt_si_h_sat-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zdinx,+zhinx,+zihintpause,+zicsr -O3 -code-model=small
half-round-conv.2620fa6efb.ll (mutant of half-round-conv.ll)test_trunc_si8-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32f -mattr=+zdinx -O0

Generated 2026-11-29 14:49 UTC.