fallback: translate: xor i32

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: xor i32 M
Occurrences:10 in 9 configs, 9 test files, 140 more counted only
Snippet from:ucmp.a41ffad193.ll (mutant of ucmp.ll) @ucmp.32.32_sext via llvm-extract
Config:-mtriple=riscv32 -mattr=+zdinx,+zicsr -O0 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i32 @ucmp.32.32_sext(i32 signext %x, i32 signext %y) #0 {
  %B = xor i32 %x, %y
  ret i32 %B
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -mattr=+zdinx,+zicsr -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zdinx,+zicsr -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: xor: '  %B = xor i32 %x, %y' (in function: ucmp.32.32_sext)
warning: Instruction selection used fallback path for ucmp.32.32_sext

Occurrences (10):

InputFunctionConfig
codemodel-lowering.215ee47248.ll (mutant of codemodel-lowering.ll)lower_blockaddress_displ-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zhinx,+zbkb -O1
fixed-vectors-stepvector.d48f84620d.ll (mutant of fixed-vectors-stepvector.ll)stepvector_v2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=small
float-fcmp-strict.2585204989.ll (mutant of float-fcmp-strict.ll)fcmps_uno-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32 -mattr=+zfinx -O1
machine-outliner-multiple-sections.e96754f84d.ll (mutant of machine-outliner-multiple-sections.ll)plain_0-mtriple=riscv64 -enable-machine-outliner=always --function-sections -verify-machineinstrs -mattr=+zhinx,+zbs -O3
machine-outliner-multiple-sections.e96754f84d.ll (mutant of machine-outliner-multiple-sections.ll)a_0-mtriple=riscv64 -enable-machine-outliner=always --function-sections -verify-machineinstrs -mattr=+zhinx,+zbs -O3
machine-outliner-section-attribute.9e220d2ff1.ll (mutant of machine-outliner-section-attribute.ll)shared_0-mtriple=riscv32 -enable-machine-outliner=always --function-sections -verify-machineinstrs -mattr=+zhinx,+a -O1
rv32zbb-zbkb.ff323671d5.ll (mutant of rv32zbb-zbkb.ll)and_hoisted_not_i32_swapped-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O0
ucmp.a41ffad193.ll (mutant of ucmp.ll)ucmp.32.32_sext-mtriple=riscv32 -mattr=+zdinx,+zicsr -O0 -verify-machineinstrs
xcvbitmanip.a1eb0bf771.ll (mutant of xcvbitmanip.ll)test.cv.insert-mtriple=riscv32 -verify-machineinstrs -mattr=+xcvbitmanip,+zdinx,+zhinx -O3
xqcibm-cto-clo-brev.1d8c76ba66.ll (mutant of xqcibm-cto-clo-brev.ll)test_ctlz_i32_zero_poison-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zhinx -O2

Generated 2026-11-29 14:49 UTC.