fallback: translate: or i8

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: or i8 M
Occurrences:3 in 3 configs, 3 test files, 15 more counted only
Snippet from:half-imm.26fc4fd417.ll (mutant of half-imm.ll) @undef via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zdinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i8

; Function Attrs: nounwind
define half @undef() #0 {
  %B = or i8 16, 0
  store i8 %B, ptr @G, align 1
  ret half undef
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zdinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zdinx -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
avgceilu.87ce836c0e.ll (mutant of avgceilu.ll)test_fixed_i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
half-imm.26fc4fd417.ll (mutant of half-imm.ll)undef-mtriple=riscv64 -verify-machineinstrs -target-abi lp64f -mattr=+zdinx -O1
memset.03c64e1f2a.ll (mutant of memset.ll)memset_i32_2147483648-mtriple=riscv32 -mattr=+zdinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.