fallback: legalize: G_SREM <8 x s8>
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_SREM <8 x s8> |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-64.ll @test_psrem_b via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <8 x i8> @test_psrem_b(<8 x i8> %a, <8 x i8> %b) {
%res = srem <8 x i8> %a, %b
ret <8 x i8> %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:_(<8 x s8>) = G_SREM %0:_, %1:_ (in function: test_psrem_b)
warning: Instruction selection used fallback path for test_psrem_b
Occurrences (1):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_psrem_b | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.