fallback: translate: or i1

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: or i1 M
Occurrences:3 in 3 configs, 3 test files, 28 more counted only
Snippet from:half-imm.019e7c50f4.ll (mutant of half-imm.ll) @half_positive_zero via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define half @half_positive_zero(ptr %pf) #0 {
  %B = or i1 false, true
  store i1 %B, ptr poison, align 1
  ret half 0.000000e+00
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or i1 false, true' (in function: half_positive_zero)
warning: Instruction selection used fallback path for half_positive_zero

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.dbdaaf5d39.ll (mutant of fastcc-without-f-reg.ll)d-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
half-imm.019e7c50f4.ll (mutant of half-imm.ll)half_positive_zero-mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx -O0
select-or.874ac804b2.ll (mutant of select-or.ll)if_of_or-mtriple=riscv64 -verify-machineinstrs -mattr=+xmipscmov,+zfinx,+zicsr -O3

Generated 2026-11-29 14:49 UTC.