fallback: translate: or i64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: or i64 M
Occurrences:7 in 7 configs, 7 test files, 70 more counted only
Snippet from:alu64.d2190b14ef.ll (mutant of alu64.ll) @or via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i64

; Function Attrs: nounwind
define i64 @or(i64 %a, i64 %b) #0 {
  %1 = or i64 %a, %b
  %B = and i64 %b, 4294967296
  store i64 %B, ptr @G, align 4
  ret i64 %1
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
alu64.d2190b14ef.ll (mutant of alu64.ll)or-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3
bswap-bitreverse.46d8767000.ll (mutant of bswap-bitreverse.ll)test_bitreverse_i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zbb,+zfinx -O1 -code-model=small
jumptable-section.356ae2c196.ll (mutant of jumptable-section.ll)jt-mtriple=riscv64 -mattr=+zfinx -O0 -verify-machineinstrs
orc-b-patterns-rv64.eab335b575.ll (mutant of orc-b-patterns-rv64.ll)byte_bit_1-mtriple=riscv64 -verify-machineinstrs -mattr=+zbb,+zhinx -O0
rotl-rotr.0039e50707.ll (mutant of rotl-rotr.ll)rotl_64_mask_or_128_or_64-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
rv64zbs.9de806c77d.ll (mutant of rv64zbs.ll)bseti_i64_10-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O0
sf_vqmaccus_2x8x2.d0727eb2.7f59b7d8d7.ll (mutant of sf_vqmaccus_2x8x2.d0727eb2.ll)intrinsic_vqmaccus_2x8x2_ta_i32m8-mtriple=riscv64 -verify-machineinstrs -mattr=+xsfvqmaccdod,+zfinx -O3

Generated 2026-11-29 14:49 UTC.