fallback: translate: xor i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: xor i64 M
Occurrences:7 in 7 configs, 7 test files, 72 more counted only
Snippet from:orc-b-rv64.bb9bebafeb.ll (mutant of orc-b-rv64.ll) @orc_b_i64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+a,+zdinx -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i64

define i64 @orc_b_i64(i64 %x) {
  %B = xor i64 %x, 42
  store i64 %B, ptr @G, align 4
  %B1 = mul i64 %x, 1
  ret i64 %B1
}

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+a,+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+a,+zdinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (7):

InputFunctionConfig
alu-roundtrip.809c0fef53.ll (mutant of alu-roundtrip.ll)xor_i64-mtriple=riscv32 -verify-machineinstrs -riscv-enable-copy-propagation=false -mattr=+m,+zdinx -O1
atomicrmw-add-sub.bbb9183918.ll (mutant of atomicrmw-add-sub.ll)atomicrmw_sub_i64-mtriple=riscv64 -mattr=+zdinx -O0 -verify-machineinstrs
float-convert-strict.9a5cb324f0.ll (mutant of float-convert-strict.ll)fcvt_s_l-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64 -mattr=+zfinx -O2
fold-masked-merge.3cc4c4473a.ll (mutant of fold-masked-merge.ll)masked_merge3-mtriple=riscv32 -mattr=+zdinx,+zcb -O0 -verify-machineinstrs
orc-b-rv64.bb9bebafeb.ll (mutant of orc-b-rv64.ll)orc_b_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+a,+zdinx -O1
rv64zbs.9de806c77d.ll (mutant of rv64zbs.ll)bclri_i32_11-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
ucmp.6560e16db8.ll (mutant of ucmp.ll)ucmp.32.64-mtriple=riscv32 -mattr=+zfinx,+zhinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.