fallback: translate: and i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: and i16 M |
| Occurrences: | 5 in 5 configs, 5 test files, 76 more counted only |
| Snippet from: | alu16.54b8c17271.ll (mutant of alu16.ll) @and via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i16 @and(i16 %a, i16 %b) #0 {
%1 = and i16 %a, %b
%C = icmp sgt i16 %a, 0
store i1 %C, ptr poison, align 1
ret i16 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: and: ' %1 = and i16 %a, %b' (in function: and)
warning: Instruction selection used fallback path for and
Occurrences (5):
| Input | Function | Config |
|---|
| alu16.54b8c17271.ll (mutant of alu16.ll) | and | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1 |
| avgflooru.4c133d0c01.ll (mutant of avgflooru.ll) | test_fixed_i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3 |
| orc-b-patterns.b6342adecb.ll (mutant of orc-b-patterns.ll) | orc_b_i16_sub_shl8x_x_b1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O1 |
| tail-calls.ccbd0f80fd.ll (mutant of tail-calls.ll) | caller_args | -mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3 |
| tls-models.606b3d621f.ll (mutant of tls-models.ll) | f2 | -mtriple=riscv64 -relocation-model=pic -enable-tlsdesc -mattr=+zbb,+zdinx -O1 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.