fallback: legalize: G_UMULH s27
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_UMULH s27 |
| Occurrences: | 6 in 2 configs, 1 test files |
| Snippet from: | urem-seteq-illegal-types.ll @test_urem_even via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i1 @test_urem_even(i27 %X) #0 {
%urem = urem i27 %X, 14
%cmp = icmp eq i27 %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:_(s27) = G_UMULH %0:_, %7:_ (in function: test_urem_even)
warning: Instruction selection used fallback path for test_urem_even
Occurrences (6):
Generated 2026-10-15 08:05 UTC.