fallback: legalize: G_UREM <4 x s16>
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_UREM <4 x s16> |
| Occurrences: | 6 in 5 configs, 2 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 bc8218b282 |
| 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 s16>) = G_UREM %0:_, %1:_ (in function: test_purem_h)
warning: Instruction selection used fallback path for test_purem_h
Occurrences (6):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_purem_h | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| urem-vector-lkk.ll | dont_fold_urem_i16_smax | -mtriple=riscv32 -mattr=+m -verify-machineinstrs |
| urem-vector-lkk.ll | dont_fold_urem_i16_smax | -mtriple=riscv32 -verify-machineinstrs |
| urem-vector-lkk.ll | dont_fold_urem_i16_smax | -mtriple=riscv64 -mattr=+m -verify-machineinstrs |
| urem-vector-lkk.ll | dont_fold_urem_i16_smax | -mtriple=riscv64 -verify-machineinstrs |
| rvp-simd-64.668eefe733.ll (mutant of rvp-simd-64.ll) | test_pudiv_mulhu_h | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.