fallback: translate: or i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: or i1 M |
| Occurrences: | 4 in 4 configs, 3 test files, 22 more counted only |
| Snippet from: | zicond-fp-select-zfinx.4e02ff9d21.ll (mutant of zicond-fp-select-zfinx.ll) @select_f32_i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zicond,+zbb -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define float @select_f32_i1(i1 %cond, float %t, float %f) #0 {
entry:
%B = or i1 %cond, %cond
%sel = select i1 %B, float %t, float %f
ret float %sel
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zicond,+zbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zicond,+zbb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: or: ' %B = or i1 %cond, %cond' (in function: select_f32_i1)
warning: Instruction selection used fallback path for select_f32_i1
Occurrences (4):
| Input | Function | Config |
|---|
| rvp-widening-shift.071da2aa50.ll (mutant of rvp-widening-shift.ll) | pwsla_v4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbkb -O0 |
| select-or.20b2522b66.ll (mutant of select-or.ll) | select_of_or | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O3 |
| select-or.3744856612.ll (mutant of select-or.ll) | if_of_or | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+a -O1 |
| zicond-fp-select-zfinx.4e02ff9d21.ll (mutant of zicond-fp-select-zfinx.ll) | select_f32_i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zicond,+zbb -O2 |
Generated 2026-11-29 14:49 UTC.