fallback: translate: xor i8

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: xor i8 M
Occurrences:5 in 5 configs, 5 test files, 15 more counted only
Snippet from:abds.8b04dcf5fd.ll (mutant of abds.ll) @abd_ext_i8_i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+zfinx -O2 -code-model=small -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i8 @abd_ext_i8_i16(i8 %a, i16 %b) #0 {
  %B = xor i8 %a, %a
  ret i8 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
abds.8b04dcf5fd.ll (mutant of abds.ll)abd_ext_i8_i16-mtriple=riscv32 -mattr=+zfinx -O2 -code-model=small -verify-machineinstrs
atomic-load-store.16e8a743b2.ll (mutant of atomic-load-store.ll)atomic_store_i8_seq_cst-mtriple=riscv32 -verify-machineinstrs -mattr=+a,+no-trailing-seq-cst-fence,+zdinx,+zve32x -O1 -code-model=small
attributes.cca5f34695.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+zaamo,+zalrsc,+zicond,+zhinx -O3 -verify-machineinstrs
fixed-vectors-vmaxu-vp.9a0e47d89a.ll (mutant of fixed-vectors-vmaxu-vp.ll)vmaxu_vx_v258i8_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
rvp-simd-32.0db626d5.cf0e9b6112.ll (mutant of rvp-simd-32.0db626d5.ll)test_pm2suba_v2i16_i32-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx,+zihintpause -O1

Generated 2026-11-29 14:49 UTC.