fallback: translate: call llvm.umul.with.overflow.i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.umul.with.overflow.i64 M |
| Occurrences: | 5 in 4 configs, 1 test files, 4 more counted only |
| Snippet from: | xaluo.a33d2bbfb4.ll (mutant of xaluo.ll) @umulo.not.i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+xtheadba,+zdinx -O0 -code-model=medium |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i1 @umulo.not.i64(i64 %v1, i64 %v2) {
entry:
%t = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %v1, i64 %v2)
%obit = extractvalue { i64, i1 } %t, 1
%C = icmp ult i1 true, true
%ret = xor i1 %obit, %C
ret i1 %ret
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+xtheadba,+zdinx -O0 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+xtheadba,+zdinx -O0 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umul.with.overflow.i64: ' %t = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %v1, i64 %v2)' (in function: umulo.not.i64)
warning: Instruction selection used fallback path for umulo.not.i64
Occurrences (5):
| Input | Function | Config |
|---|
| xaluo.a33d2bbfb4.ll (mutant of xaluo.ll) | umulo.not.i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+xtheadba,+zdinx -O0 -code-model=medium |
| xaluo.ad8fa0b6a7.ll (mutant of xaluo.ll) | umulo2.br.i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zba,+zdinx -O3 |
| xaluo.ba2f22d411.ll (mutant of xaluo.ll) | umulo.i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O3 |
| xaluo.ba2f22d411.ll (mutant of xaluo.ll) | umulo2.br.i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zfinx -O3 |
| xaluo.edd69120bd.ll (mutant of xaluo.ll) | umulo.br.i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zba,+zhinx -O3 |
Generated 2026-11-29 14:49 UTC.