fallback: translate: xor i16
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: xor i16 M |
| Occurrences: | 5 in 5 configs, 5 test files, 24 more counted only |
| Snippet from: | alu16.4139167eb3.ll (mutant of alu16.ll) @xor via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i16
; Function Attrs: nounwind
define i16 @xor(i16 %a, i16 %b) #0 {
%1 = xor i16 %a, %b
store i16 %1, ptr @G.2, align 2
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: xor: ' %1 = xor i16 %a, %b' (in function: xor)
warning: Instruction selection used fallback path for xor
Occurrences (5):
| Input | Function | Config |
|---|
| abds-neg.53d81326bf.ll (mutant of abds-neg.ll) | abd_subnsw_i16 | -mtriple=riscv64 -mattr=+zbb,+zhinx -O3 -verify-machineinstrs |
| alu16.4139167eb3.ll (mutant of alu16.ll) | xor | -mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O2 |
| half-imm.9328d03ff9.ll (mutant of half-imm.ll) | half_imm_op | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O1 |
| half-maximum-minimum.fb6474bd50.ll (mutant of half-maximum-minimum.ll) | fminimum_nnan_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O2 -code-model=small |
| sadd_sat.fd10baaf82.ll (mutant of sadd_sat.ll) | func16 | -mtriple=riscv64 -mattr=+m,+zhinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.