fallback: translate: xor i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: xor i1 M |
| Occurrences: | 5 in 4 configs, 4 test files, 17 more counted only |
| Snippet from: | sext-zext-trunc.bcdfeaf68b.ll (mutant of sext-zext-trunc.ll) @zext_nneg_i1_to_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @zext_nneg_i1_to_i64(i1 %a) #0 {
%B = xor i1 %a, true
%1 = zext nneg i1 %B to i64
ret i64 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: xor: ' %B = xor i1 %a, true' (in function: zext_nneg_i1_to_i64)
warning: Instruction selection used fallback path for zext_nneg_i1_to_i64
Occurrences (5):
| Input | Function | Config |
|---|
| cmp-bool.2fa59e3fab.ll (mutant of cmp-bool.ll) | bool_ne | -mtriple=riscv64 -mattr=+zicond,+zdinx -O2 -verify-machineinstrs |
| float-convert.b1b9cab7eb.ll (mutant of float-convert.ll) | fcvt_wu_s_multiple_use | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O3 |
| sext-zext-trunc.bcdfeaf68b.ll (mutant of sext-zext-trunc.ll) | zext_nneg_i1_to_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond -O1 |
| sext-zext-trunc.bcdfeaf68b.ll (mutant of sext-zext-trunc.ll) | sext_of_not_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zicond -O1 |
| short-forward-branch-opt-min-max.264ccb7367.ll (mutant of short-forward-branch-opt-min-max.ll) | select_example_smax | -mtriple=riscv32 -mattr=+zbb,+zdinx -O3 -code-model=medium -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.