fallback: legalize: G_UMULH s9
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_UMULH s9 |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | urem-seteq-illegal-types.ll @test_urem_negative_odd 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 i1 @test_urem_negative_odd(i9 %X) #0 {
%urem = urem i9 %X, -5
%cmp = icmp ne i9 %urem, 0
ret i1 %cmp
}
attributes #0 = { nounwind }
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: %10:_(s9) = G_UMULH %0:_, %7:_ (in function: test_urem_negative_odd)
warning: Instruction selection used fallback path for test_urem_negative_odd
Occurrences (2):
Generated 2026-10-15 08:05 UTC.