fallback: translate: udiv <N x i64>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: udiv <N x i64> M
Occurrences:3 in 3 configs, 3 test files, 12 more counted only
Snippet from:rv64zbs.7b97cf9ded.ll (mutant of rv64zbs.ll) @bclri_i64_30 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <2 x i64>

; Function Attrs: nounwind
define i64 @bclri_i64_30(i64 %a) #0 {
  %B = udiv <2 x i64> splat (i64 42), splat (i64 9223372036854775807)
  %and = and i64 %a, -1073741825
  store <2 x i64> %B, ptr @G.3, align 16
  ret i64 %and
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

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

Occurrences (3):

InputFunctionConfig
float-br-fcmp.a5285ce3cb.ll (mutant of float-br-fcmp.ll)br_fcmp_uge-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O2
rv64zbs.7b97cf9ded.ll (mutant of rv64zbs.ll)bclri_i64_30-mtriple=riscv64 -verify-machineinstrs -mattr=+zbs,+zbb,+zhinx -O0
tail-calls.ccbd0f80fd.ll (mutant of tail-calls.ll)caller_extern_pgso-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3

Generated 2026-11-29 14:49 UTC.