| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_SMULH s16 |
| Occurrences: | 9 in 5 configs, 3 test files |
| Snippet from: | div.ll @sdiv16_constant via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
; Function Attrs: nounwind
define i16 @sdiv16_constant(i16 %a) #0 {
%1 = sdiv i16 %a, 5
ret i16 %1
}
attributes #0 = { nounwind }
llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
remark: <unknown>:0:0: unable to legalize instruction: %9:_(s16) = G_SMULH %0:_, %5:_ (in function: sdiv16_constant) warning: Instruction selection used fallback path for sdiv16_constant
| Input | Function | Config |
|---|---|---|
| div.ll | sdiv16_constant | -mtriple=riscv64 -verify-machineinstrs |
| smulh.ll | smulh_i16 | -mtriple=riscv32 |
| smulh.ll | smulh_i16 | -mtriple=riscv64 |
| bswap-bitreverse.354c12fa6d.ll (mutant of bswap-bitreverse.ll) | test_bswap_bitreverse_i16 | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| bswap-bitreverse.47b020c5d3.ll (mutant of bswap-bitreverse.ll) | test_bswap_bitreverse_i16 | -mtriple=riscv64 -mattr=+zbkb -verify-machineinstrs |
| bswap-bitreverse.fb9f60b7e6.ll (mutant of bswap-bitreverse.ll) | test_bswap_bitreverse_i16 | -mtriple=riscv64 -verify-machineinstrs |
| div.b0e16d18a4.ll (mutant of div.ll) | sdiv16_constant | -mtriple=riscv64 -verify-machineinstrs |
| smulh.9778183a81.ll (mutant of smulh.ll) | smulh_i16 | -mtriple=riscv64 |
| smulh.a4c0bf1de8.ll (mutant of smulh.ll) | smulh_i16 | -mtriple=riscv32 |
Generated 2026-10-15 08:05 UTC.