fallback: translate: udiv i128

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: udiv i128 M
Occurrences:3 in 2 configs, 2 test files, 16 more counted only
Snippet from:split-udiv-by-constant.680d944e93.ll (mutant of split-udiv-by-constant.ll) @test_udiv_7 via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+zdinx -O0 -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define i128 @test_udiv_7(i128 %x) #0 {
  %a = udiv i128 %x, 7
  %B = udiv i128 %a, %a
  ret i128 %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: udiv: '  %a = udiv i128 %x, 7' (in function: test_udiv_7)
warning: Instruction selection used fallback path for test_udiv_7

Occurrences (3):

InputFunctionConfig
short-forward-branch-opt.6708ca2508.ll (mutant of short-forward-branch-opt.ll)select_or_b-mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zbb,+zdinx,+zhinx -O1
split-udiv-by-constant.680d944e93.ll (mutant of split-udiv-by-constant.ll)test_udiv_7-mtriple=riscv64 -mattr=+m,+zdinx -O0 -verify-machineinstrs
split-udiv-by-constant.680d944e93.ll (mutant of split-udiv-by-constant.ll)test_udiv_12-mtriple=riscv64 -mattr=+m,+zdinx -O0 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.