fallback: legalize: G_UMULH <2 x s64>
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_UMULH <2 x s64> |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | umulh.ll @umulh_v2i64 via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define <2 x i64> @umulh_v2i64(<2 x i64> %x, <2 x i64> %y) #0 {
%r = call <2 x i64> @llvm.umulh.v2i64(<2 x i64> %x, <2 x i64> %y)
ret <2 x i64> %r
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i64> @llvm.umulh.v2i64(<2 x i64>, <2 x i64>) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s64>) = G_UMULH %0:_, %1:_ (in function: umulh_v2i64)
warning: Instruction selection used fallback path for umulh_v2i64
Occurrences (2):
| Input | Function | Config |
|---|
| umulh.ll | umulh_v2i64 | -mtriple=riscv32 |
| umulh.ll | umulh_v2i64 | -mtriple=riscv64 |
Generated 2026-10-15 08:05 UTC.