fallback: translate: or <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: or <N x i64> M
Occurrences:6 in 5 configs, 6 test files, 19 more counted only
Snippet from:half-fcmp.25c189470c.ll (mutant of half-fcmp.ll) @fcmp_true via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i32 @fcmp_true(half %a, half %b) #0 {
  %B = or <2 x i64> splat (i64 9223372036854775807), splat (i64 1)
  %1 = fcmp true half %a, %b
  %2 = zext i1 %1 to i32
  store <2 x i64> %B, ptr poison, align 16
  ret i32 %2
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or <2 x i64> splat (i64 9223372036854775807), splat (i64 1)' (in function: fcmp_true)
warning: Instruction selection used fallback path for fcmp_true

Occurrences (6):

InputFunctionConfig
fixed-vectors-stepvector.5ca980d7ec.ll (mutant of fixed-vectors-stepvector.ll)stepvector_v2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O3
fixed-vectors-vor-vp.53fffb3f88.ll (mutant of fixed-vectors-vor-vp.ll)vor_vi_v8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0
half-fcmp.25c189470c.ll (mutant of half-fcmp.ll)fcmp_true-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinx -O1
rv64i-demanded-bits.2f9f2685df.ll (mutant of rv64i-demanded-bits.ll)ori-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1 -code-model=medium
vararg.c0c3aa9173.ll (mutant of vararg.ll)va2_caller-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O0
zfhmin-imm.2090da2325.ll (mutant of zfhmin-imm.ll)f16_negative_zero-mtriple=riscv32 -target-abi ilp32 -mattr=+zhinxmin -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.