fallback: translate: xor <N x i8>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: xor <N x i8> M
Occurrences:4 in 4 configs, 4 test files, 12 more counted only
Snippet from:fp-fcanonicalize.a9970194eb.ll (mutant of fp-fcanonicalize.ll) @fcanonicalize_f16 via llvm-extract
Config:--mtriple=riscv64 -mattr=+zhinx -O2 -code-model=medium -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global half

define half @fcanonicalize_f16(half %x) {
  %B1 = xor <8 x i8> splat (i8 -1), splat (i8 16)
  %LGV = load half, ptr @G.3, align 2
  %B = fadd half %x, %LGV
  store <8 x i8> %B1, ptr poison, align 8
  ret half %B
}

Reproduce:

llc --mtriple=riscv64 -mattr=+zhinx -O2 -code-model=medium -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc --mtriple=riscv64 -mattr=+zhinx -O2 -code-model=medium -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: xor: '  %B1 = xor <8 x i8> splat (i8 -1), splat (i8 16)' (in function: fcanonicalize_f16)
warning: Instruction selection used fallback path for fcanonicalize_f16

Occurrences (4):

InputFunctionConfig
codemodel-lowering.7a515cd87e.ll (mutant of codemodel-lowering.ll)lower_blockaddress-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx,+zhinx -O2
fixed-vectors-vxor-vp.3bf9483517.ll (mutant of fixed-vectors-vxor-vp.ll)vxor_vi_v4i8_1-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1
fp-fcanonicalize.a9970194eb.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_f16--mtriple=riscv64 -mattr=+zhinx -O2 -code-model=medium -verify-machineinstrs
hoist-global-addr-base.49ef6e99ab.ll (mutant of hoist-global-addr-base.ll)offset_sh3add-mtriple=riscv64 -mattr=+zba,+zbkb,+zhinx -O2 -code-model=medium -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.