fallback: translate: and i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: and i8 M |
| Occurrences: | 3 in 3 configs, 2 test files, 39 more counted only |
| Snippet from: | xqcibm-insbi.c0a4c2da19.ll (mutant of xqcibm-insbi.ll) @tgt2_insb_neg via llvm-extract |
| Config: | -mtriple=riscv32 --verify-machineinstrs -mattr=+zdinx -O0 -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define i8 @tgt2_insb_neg(i8 %x, i8 %y) {
%and = and i8 %x, -2
%xor1 = xor i8 %and, %y
%xor2 = xor i8 %x, %xor1
store i8 %and, ptr @G, align 1
ret i8 %xor2
}
Reproduce:
llc -mtriple=riscv32 --verify-machineinstrs -mattr=+zdinx -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 --verify-machineinstrs -mattr=+zdinx -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: and: ' %and = and i8 %x, -2' (in function: tgt2_insb_neg)
warning: Instruction selection used fallback path for tgt2_insb_neg
Occurrences (3):
| Input | Function | Config |
|---|
| cmov-branch-opt.0a122ad321.ll (mutant of cmov-branch-opt.ll) | select_xor_2b | -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 |
| cmov-branch-opt.edf99ca38a.ll (mutant of cmov-branch-opt.ll) | select_or_b | -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zfinx,+xtheadba -O2 -code-model=medium |
| xqcibm-insbi.c0a4c2da19.ll (mutant of xqcibm-insbi.ll) | tgt2_insb_neg | -mtriple=riscv32 --verify-machineinstrs -mattr=+zdinx -O0 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.