fallback: translate: or i8

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: or i8 M
Occurrences:4 in 4 configs, 4 test files, 26 more counted only
Snippet from:min-max.3c7868ff98.ll (mutant of min-max.ll) @smax_i8 via llvm-extract
Config:-mtriple=riscv64 -mattr=+zbb,+zhinx -O1 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define signext i8 @smax_i8(i8 signext %a, i8 signext %b) {
  %B = or i8 %b, 127
  ret i8 %B
}

Reproduce:

llc -mtriple=riscv64 -mattr=+zbb,+zhinx -O1 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zbb,+zhinx -O1 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or i8 %b, 127' (in function: smax_i8)
warning: Instruction selection used fallback path for smax_i8

Occurrences (4):

InputFunctionConfig
float-select-fcmp.67ba2bed2e.ll (mutant of float-select-fcmp.ll)select_fcmp_uge_negone_zero-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2
inline-asm-zhinx-constraint-r.4c990edadc.ll (mutant of inline-asm-zhinx-constraint-r.ll)constraint_cf_half-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zhinx,+zbkb,+zcb -O1 -code-model=medium
min-max.3c7868ff98.ll (mutant of min-max.ll)smax_i8-mtriple=riscv64 -mattr=+zbb,+zhinx -O1 -verify-machineinstrs
zfhmin-imm.6f5e9c991f.ll (mutant of zfhmin-imm.ll)f16_positive_zero-mtriple=riscv32 -target-abi ilp32 -mattr=+zhinxmin,+zdinx,+zbb,+zbkb -O3 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.