fallback: legalize: G_UREM <N x i16>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_UREM <N x i16> |
| Occurrences: | 13 in 7 configs, 3 test files |
| Snippet from: | rvp-simd-64.ll @test_purem_h via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <4 x i16> @test_purem_h(<4 x i16> %a, <4 x i16> %b) {
%res = urem <4 x i16> %a, %b
ret <4 x i16> %res
}
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(<4 x i16>) = G_UREM %0:_, %1:_ (in function: test_purem_h)
warning: Instruction selection used fallback path for test_purem_h
Occurrences (13):
Generated 2026-11-29 14:49 UTC.