fallback: translate: or i64

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: or i64 M
Occurrences:6 in 6 configs, 5 test files, 87 more counted only
Snippet from:short-forward-branch-opt-min-max.f68272a222.ll (mutant of short-forward-branch-opt-min-max.ll) @select_example_smax_1 via llvm-extract
Config:-mtriple=riscv32 -mattr=+zbb,+short-forward-branch-ialu,+zdinx,+c -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define i64 @select_example_smax_1(i64 %a, i64 %b, i1 zeroext %x, i64 %y) {
entry:
  %B = or i64 %b, %y
  ret i64 %B
}

Reproduce:

llc -mtriple=riscv32 -mattr=+zbb,+short-forward-branch-ialu,+zdinx,+c -O0 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zbb,+short-forward-branch-ialu,+zdinx,+c -O0 -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
add_sext_shl_constant.bc816fd2cb.ll (mutant of add_sext_shl_constant.ll)add_shl_moreOneUse_sh2add-mtriple=riscv64 -mattr=+xandesperf,+zhinx -O0 -verify-machineinstrs
avgceils.974669e4ec.ll (mutant of avgceils.ll)test_fixed_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O2
rotl-rotr.02d815dcbb.ll (mutant of rotl-rotr.ll)rotl_64_mask_or_128_or_64-mtriple=riscv32 -verify-machineinstrs -mattr=+xtheadbb,+zdinx -O3
rotl-rotr.418e9e6fba.ll (mutant of rotl-rotr.ll)rotr_64_mask_or_128_or_64-mtriple=riscv64 -verify-machineinstrs -enable-legalize-types-checking -mattr=+zfinx -O2
rv64zbc-intrinsic.d72ccbb824.ll (mutant of rv64zbc-intrinsic.ll)llvm_clmulr_i64-mtriple=riscv64 -verify-machineinstrs -mattr=+zbc,+zfinx,+zicsr -O2 -code-model=small
short-forward-branch-opt-min-max.f68272a222.ll (mutant of short-forward-branch-opt-min-max.ll)select_example_smax_1-mtriple=riscv32 -mattr=+zbb,+short-forward-branch-ialu,+zdinx,+c -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.