fallback: translate: or i8~

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: or i8~ M
Occurrences:3 in 3 configs, 2 test files, 10 more counted only
Snippet from:rv32zbb.b71382a6b0.ll (mutant of rv32zbb.ll) @sub_if_uge_C_swapped_nsw_i7 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zbkb -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i7 @sub_if_uge_C_swapped_nsw_i7(i7 %a) {
  %x = or i7 %a, 51
  %C = icmp sgt i7 %x, %x
  %add = add nsw i7 %x, 17
  %s = select i1 %C, i7 %x, i7 %add
  ret i7 %s
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %x = or i7 %a, 51' (in function: sub_if_uge_C_swapped_nsw_i7)
warning: Instruction selection used fallback path for sub_if_uge_C_swapped_nsw_i7

Occurrences (3):

InputFunctionConfig
rv32zbb.b71382a6b0.ll (mutant of rv32zbb.ll)sub_if_uge_C_swapped_nsw_i7-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+zbkb -O1
rv32zbb.d33e61dae8.ll (mutant of rv32zbb.ll)sub_if_uge_C_swapped_nsw_i7-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx,+xtheadba -O2
usub_sat_plus.3f48ae7275.ll (mutant of usub_sat_plus.ll)func4-mtriple=riscv32 -mattr=+m,+zve32x,+zfinx -O2 -code-model=small -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.