fallback: translate: xor <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: xor <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 15 more counted only
Snippet from:attributes.1e03ac40c9.ll (mutant of attributes.ll) @atomic_load_i8_seq_cst via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i8 @atomic_load_i8_seq_cst(ptr %a) #0 {
  %B = xor <2 x i64> splat (i64 -1), splat (i64 9223372036854775807)
  %1 = load atomic i8, ptr %a seq_cst, align 1
  store <2 x i64> %B, ptr poison, align 16
  ret i8 %1
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs -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 -1), splat (i64 9223372036854775807)' (in function: atomic_load_i8_seq_cst)
warning: Instruction selection used fallback path for atomic_load_i8_seq_cst

Occurrences (3):

InputFunctionConfig
attributes.1e03ac40c9.ll (mutant of attributes.ll)atomic_load_i8_seq_cst-mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs
half-convert.bfaefc90a1.ll (mutant of half-convert.ll)fcvt_h_si_signext-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin -O0
push-pop-popret.0070a50b40.ll (mutant of push-pop-popret.ll)pushpopret1-mtriple=riscv64 -verify-machineinstrs -mattr=+zcmp,+zdinx,+zvbb -O0 -code-model=medium

Generated 2026-11-29 14:49 UTC.