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