fallback: legalize: G_SMULH <4 x s16>
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_SMULH <4 x s16> |
| Occurrences: | 4 in 2 configs, 1 test files |
| Snippet from: | smulh.ll @smulh_v4i16 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 <4 x i16> @smulh_v4i16(<4 x i16> %x, <4 x i16> %y) #0 {
%r = call <4 x i16> @llvm.smulh.v4i16(<4 x i16> %x, <4 x i16> %y)
ret <4 x i16> %r
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i16> @llvm.smulh.v4i16(<4 x i16>, <4 x i16>) #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:_(<4 x s16>) = G_SMULH %0:_, %1:_ (in function: smulh_v4i16)
warning: Instruction selection used fallback path for smulh_v4i16
Occurrences (4):
| Input | Function | Config |
|---|
| smulh.ll | smulh_v4i16 | -mtriple=riscv32 |
| smulh.ll | smulh_v4i16 | -mtriple=riscv64 |
| smulh.2626df8b36.ll (mutant of smulh.ll) | smulh_v4i16 | -mtriple=riscv64 |
| smulh.6de3b64285.ll (mutant of smulh.ll) | smulh_v4i16 | -mtriple=riscv32 |
Generated 2026-10-15 08:05 UTC.