fallback: translate: or i128

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: or i128 M
Occurrences:6 in 6 configs, 6 test files, 11 more counted only
Snippet from:srem-seteq-illegal-types.a594e9fc7c.ll (mutant of srem-seteq-illegal-types.ll) @test_srem_odd via llvm-extract
Config:-mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i1 @test_srem_odd(i29 %X) #0 {
  %B = or i128 170141183460469231731687303715884105727, 42
  %srem = srem i29 %X, 99
  %cmp = icmp eq i29 %srem, 0
  store i128 %B, ptr poison, align 4
  ret i1 %cmp
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: or: '  %B = or i128 170141183460469231731687303715884105727, 42' (in function: test_srem_odd)
warning: Instruction selection used fallback path for test_srem_odd

Occurrences (6):

InputFunctionConfig
fixed-vectors-setcc-int-vp-mask.fb3cf53ae8.ll (mutant of fixed-vectors-setcc-int-vp-mask.ll)icmp_ult_vv_v2i1-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
fixed-vectors-stepvector.d48f84620d.ll (mutant of fixed-vectors-stepvector.ll)stepvector_v8i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zhinx -O1 -code-model=small
half-convert.9dc48e20c1.ll (mutant of half-convert.ll)fcvt_lu_h-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinx -O3
rv64-double-convert-strict.a79f7a3573.ll (mutant of rv64-double-convert-strict.ll)uitofp_i128_to_f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -disable-strictnode-mutation -mattr=+zdinx,+zbs -O3
shifts.550d52f669.ll (mutant of shifts.ll)lshr128_shamt32-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1 -code-model=small
srem-seteq-illegal-types.a594e9fc7c.ll (mutant of srem-seteq-illegal-types.ll)test_srem_odd-mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.